Class: Fortnox::Currency

Inherits:
Resource show all
Defined in:
lib/fortnox/resources/currency.rb

Instance Attribute Summary collapse

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_rateObject

Returns the value of attribute buy_rate.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def buy_rate
  @buy_rate
end

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def code
  @code
end

#dateObject

Returns the value of attribute date.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def date
  @date
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def description
  @description
end

#sell_rateObject

Returns the value of attribute sell_rate.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def sell_rate
  @sell_rate
end

#unitObject

Returns the value of attribute unit.



3
4
5
# File 'lib/fortnox/resources/currency.rb', line 3

def unit
  @unit
end