Class: CardDB::Money
Overview
Wrapper for decimal money returned by valuation APIs
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#[], #initialize, #key?, #to_h, #to_json
Constructor Details
This class inherits a constructor from CardDB::Resource
Instance Method Details
#amount ⇒ Object
2207 |
# File 'lib/carddb/collection.rb', line 2207 def amount = data['amount'] |
#currency_code ⇒ Object
2208 |
# File 'lib/carddb/collection.rb', line 2208 def currency_code = data['currencyCode'] |