lib/currency_cloud/actions/current.rb in currency_cloud-0.7.1 vs lib/currency_cloud/actions/current.rb in currency_cloud-0.7.2
- old
+ new
@@ -1,9 +1,10 @@
module CurrencyCloud
module Actions
module Current
def current
- get('current')
+ attrs = client.get("current")
+ new(attrs)
end
end
end
-end
\ No newline at end of file
+end