Module: Restforce::DB::Model

Defined in:
lib/restforce/db/model.rb

Overview

Restforce::DB::Model is a helper module which attaches some special DSL-style methods to an ActiveRecord class, allowing for easier mapping of the ActiveRecord class to an object type in Salesforce.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



11
12
13
# File 'lib/restforce/db/model.rb', line 11

def self.included(base)
  base.extend(ClassMethods)
end