Method: Formstack::Model.included

Defined in:
lib/formstack/model.rb

.included(base) ⇒ Object



7
8
9
10
11
12
# File 'lib/formstack/model.rb', line 7

def self.included(base)
  base.send :attr_reader, :attributes
  base.extend ClassMethods
  base.extend Forwardable
  base.def_delegators :'self.class', :client, :client_method, :new_from_response
end