Class: Billogram::Item

Inherits:
Resource show all
Defined in:
lib/billogram/resources/item.rb

Constant Summary

Constants inherited from Resource

Resource::DEFAULT_OPTIONS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Resource

build_objects, create, delete, #delete, endpoint, #endpoint, fetch, #initialize, #perform_request, perform_request, relation, relations, search, #to_json, #update, update

Constructor Details

This class inherits a constructor from Billogram::Resource

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def description
  @description
end

#item_noObject

Returns the value of attribute item_no.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def item_no
  @item_no
end

#priceObject

Returns the value of attribute price.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def price
  @price
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def title
  @title
end

#unitObject

Returns the value of attribute unit.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def unit
  @unit
end

#updated_atObject

Returns the value of attribute updated_at.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def updated_at
  @updated_at
end

#vatObject

Returns the value of attribute vat.



3
4
5
# File 'lib/billogram/resources/item.rb', line 3

def vat
  @vat
end