Class: Conexa::InvoicingMethod

Inherits:
Model show all
Defined in:
lib/conexa/resources/invoicing_method.rb

Constant Summary

Constants inherited from ConexaObject

ConexaObject::RESOURCES

Instance Attribute Summary

Attributes inherited from ConexaObject

#attributes

Class Method Summary collapse

Methods inherited from Model

all, #class_name, class_name, #create, create, #destroy, destroy, extract_page_size_or_params, #fetch, find_by, find_by_id, #id, #primary_key, primary_key_attribute, #primary_key_name, #save, #set_primary_key, underscored_class_name

Methods included from Deprecatable

#deprecate

Methods inherited from ConexaObject

#==, #[]=, convert, #empty?, #initialize, #respond_to_missing?, #to_hash, #unsaved_attributes

Constructor Details

This class inherits a constructor from Conexa::ConexaObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Conexa::ConexaObject

Class Method Details

.show_url(*params) ⇒ Object



12
13
14
# File 'lib/conexa/resources/invoicing_method.rb', line 12

def show_url(*params)
  ["/invoicingMethod", *params].join '/'
end

.url(*params) ⇒ Object



8
9
10
# File 'lib/conexa/resources/invoicing_method.rb', line 8

def url(*params)
  ["/invoicingMethods", *params].join '/'
end