Class: Billomat::Models::CreditNoteItem
- Defined in:
- lib/billomat/models/credit_note_item.rb
Overview
Representation of the credit note item resource
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
-
.base_path ⇒ String
The resource’s base path.
-
.resource_name ⇒ String
The resource’s name.
Methods inherited from Base
#as_json, #create, #delete, find, #id, #initialize, #method_missing, #respond_to_missing?, #save, #update, where, #wrapped_data
Constructor Details
This class inherits a constructor from Billomat::Models::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Billomat::Models::Base
Class Method Details
.base_path ⇒ String
Returns the resource’s base path.
8 9 10 |
# File 'lib/billomat/models/credit_note_item.rb', line 8 def self.base_path '/credit-note-items' end |
.resource_name ⇒ String
Returns the resource’s name.
13 14 15 |
# File 'lib/billomat/models/credit_note_item.rb', line 13 def self.resource_name 'credit-note-item' end |