Class: Billomat::Models::InvoicePayment

Inherits:
Base
  • Object
show all
Defined in:
lib/billomat/models/invoice_payment.rb

Overview

Representation of the invoice payment resource

Instance Attribute Summary

Attributes inherited from Base

#data

Class Method Summary collapse

Methods inherited from Base

#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_pathString

Returns The resource’s base path.

Returns:

  • (String)

    The resource’s base path



9
10
11
# File 'lib/billomat/models/invoice_payment.rb', line 9

def self.base_path
  '/invoice-payments'
end

.resource_nameString

Returns The resource’s name.

Returns:

  • (String)

    The resource’s name



14
15
16
# File 'lib/billomat/models/invoice_payment.rb', line 14

def self.resource_name
  'invoice-payment'
end