Class: Fortnox::Price
- Defined in:
- lib/fortnox/resources/price.rb
Instance Attribute Summary collapse
-
#article_number ⇒ Object
Returns the value of attribute article_number.
-
#date ⇒ Object
Returns the value of attribute date.
-
#from_quantity ⇒ Object
Returns the value of attribute from_quantity.
-
#percent ⇒ Object
Returns the value of attribute percent.
-
#price ⇒ Object
Returns the value of attribute price.
-
#price_list ⇒ Object
Returns the value of attribute price_list.
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
#article_number ⇒ Object
Returns the value of attribute article_number.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def article_number @article_number end |
#date ⇒ Object
Returns the value of attribute date.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def date @date end |
#from_quantity ⇒ Object
Returns the value of attribute from_quantity.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def from_quantity @from_quantity end |
#percent ⇒ Object
Returns the value of attribute percent.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def percent @percent end |
#price ⇒ Object
Returns the value of attribute price.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def price @price end |
#price_list ⇒ Object
Returns the value of attribute price_list.
3 4 5 |
# File 'lib/fortnox/resources/price.rb', line 3 def price_list @price_list end |