Class: Beanie::Billable
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#quantity ⇒ Object
Returns the value of attribute quantity.
-
#sales_invoice_item_id ⇒ Object
Returns the value of attribute sales_invoice_item_id.
-
#sales_order_item_id ⇒ Object
Returns the value of attribute sales_order_item_id.
-
#start ⇒ Object
Returns the value of attribute start.
Instance Method Summary collapse
-
#initialize ⇒ Billable
constructor
Initialize instance variables.
Methods inherited from Api
all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers
Constructor Details
#initialize ⇒ Billable
Initialize instance variables
37 38 39 40 41 42 43 44 |
# File 'lib/beanie/billable.rb', line 37 def initialize @id = nil @sales_invoice_item_id = nil @sales_order_item_id = nil @quantity = nil @start = nil @description = nil end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
33 34 35 |
# File 'lib/beanie/billable.rb', line 33 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
32 33 34 |
# File 'lib/beanie/billable.rb', line 32 def id @id end |
#quantity ⇒ Object
Returns the value of attribute quantity.
33 34 35 |
# File 'lib/beanie/billable.rb', line 33 def quantity @quantity end |
#sales_invoice_item_id ⇒ Object
Returns the value of attribute sales_invoice_item_id.
32 33 34 |
# File 'lib/beanie/billable.rb', line 32 def sales_invoice_item_id @sales_invoice_item_id end |
#sales_order_item_id ⇒ Object
Returns the value of attribute sales_order_item_id.
32 33 34 |
# File 'lib/beanie/billable.rb', line 32 def sales_order_item_id @sales_order_item_id end |
#start ⇒ Object
Returns the value of attribute start.
33 34 35 |
# File 'lib/beanie/billable.rb', line 33 def start @start end |