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

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

Returns the resource’s base path.

Returns:

  • (String)

    the resource’s base path



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

def self.base_path
  '/invoice-payments'
end

.resource_nameString

Returns the resource’s name.

Returns:

  • (String)

    the resource’s name



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

def self.resource_name
  'invoice-payment'
end