Class: FsApi::Service::InvoicesSaved
Instance Attribute Summary
Attributes inherited from BaseService
#api_client, #command_class
Instance Method Summary
collapse
Methods inherited from BaseService
#all, #build, #create, #create_success_status_code, #delete, #find, #initialize, #instance_path, #path, #save, #success_status_code
Instance Method Details
#collection_class ⇒ Object
4
5
6
|
# File 'lib/fs_api/service/invoices_saved.rb', line 4
def collection_class
FsApi::Resource::Invoice
end
|
#resource_type ⇒ Object
12
13
14
|
# File 'lib/fs_api/service/invoices_saved.rb', line 12
def resource_type
'invoice'
end
|
#resource_type_plural ⇒ Object
8
9
10
|
# File 'lib/fs_api/service/invoices_saved.rb', line 8
def resource_type_plural
"invoices_saved"
end
|