Module: MyJohnDeere::RESTMethods

Included in:
SingleResource
Defined in:
lib/myjohndeere/rest_methods.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



78
79
80
81
# File 'lib/myjohndeere/rest_methods.rb', line 78

def self.included(receiver)
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
end