class BillForward::InvoiceLine
This entity exposes the following child entities via method_missing:
UnitOfMeasure
.unitOfMeasure
Public Class Methods
create(entity = nil)
click to toggle source
# File lib/bill_forward/entities/invoice_parts/invoice_line.rb, line 7 def create(entity = nil) raise DenyMethod.new 'Create support is denied for this entity; '+ 'at the time of writing, no API endpoint exists to support it. '+ 'The entity can be created through cascade only (i.e. instantiated within another entity).' end
get_all(query_params = {}, customClient = nil)
click to toggle source
# File lib/bill_forward/entities/invoice_parts/invoice_line.rb, line 19 def get_all(query_params = {}, customClient = nil) raise DenyMethod.new 'Get All support is denied for this entity; '+ 'at the time of writing, no API endpoint exists to support it.'+ 'The entity can be GETted through cascade only (i.e. GET a related entity).' end
get_by_id(id, query_params = {}, customClient = nil)
click to toggle source
# File lib/bill_forward/entities/invoice_parts/invoice_line.rb, line 13 def get_by_id(id, query_params = {}, customClient = nil) raise DenyMethod.new 'Get by ID support is denied for this entity; '+ 'at the time of writing, no API endpoint exists to support it.'+ 'The entity can be GETted through cascade only (i.e. GET a related entity).' end
Public Instance Methods
save()
click to toggle source
# File lib/bill_forward/entities/invoice_parts/invoice_line.rb, line 26 def save() raise DenyMethod.new 'Save support is denied for this entity; '+ 'at the time of writing, the provided API endpoint is not functioning.'+ 'The entity can be saved through cascade only (i.e. save a related entity).' end
Protected Instance Methods
unserialize_all(hash)
click to toggle source
Calls superclass method
# File lib/bill_forward/entities/invoice_parts/invoice_line.rb, line 32 def unserialize_all(hash) super unserialize_entity('unitOfMeasure', UnitOfMeasure, hash) end