Class: Justa::OrderCommom

Inherits:
Model show all
Defined in:
lib/justa/order_commom.rb

Direct Known Subclasses

Pix

Constant Summary

Constants inherited from JustaObject

JustaObject::RESOURCES

Instance Attribute Summary

Attributes inherited from JustaObject

#attributes

Instance Method Summary collapse

Methods inherited from Model

class_name, #class_name, create, #create, #fetch, find_by_id, underscored_class_name, url, #url

Methods inherited from JustaObject

#==, #[]=, convert, #empty?, #initialize, #respond_to?, #to_hash, #to_request_params, #unsaved_attributes

Constructor Details

This class inherits a constructor from Justa::JustaObject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Justa::JustaObject

Instance Method Details

#primary_keyString

Defines primary key for model

Returns:

  • (String)

    Return the primary_key field value



11
12
13
# File 'lib/justa/order_commom.rb', line 11

def primary_key
  tx_id
end