Class: Fortnox::Currency
- Defined in:
- lib/fortnox/resources/currency.rb
Instance Attribute Summary collapse
-
#buy_rate ⇒ Object
Returns the value of attribute buy_rate.
-
#code ⇒ Object
Returns the value of attribute code.
-
#date ⇒ Object
Returns the value of attribute date.
-
#description ⇒ Object
Returns the value of attribute description.
-
#sell_rate ⇒ Object
Returns the value of attribute sell_rate.
-
#unit ⇒ Object
Returns the value of attribute unit.
Method Summary
Methods inherited from Resource
build_objects, create, #endpoint, endpoint, fetch, #initialize, perform_request, relation, relations, search, #to_hash, #to_json, #update
Constructor Details
This class inherits a constructor from Fortnox::Resource
Instance Attribute Details
#buy_rate ⇒ Object
Returns the value of attribute buy_rate.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def buy_rate @buy_rate end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def code @code end |
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def date @date end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def description @description end |
#sell_rate ⇒ Object
Returns the value of attribute sell_rate.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def sell_rate @sell_rate end |
#unit ⇒ Object
Returns the value of attribute unit.
3 4 5 |
# File 'lib/fortnox/resources/currency.rb', line 3 def unit @unit end |