Module: Outpost::Model::ClassMethods

Defined in:
lib/outpost/model.rb

Instance Method Summary collapse

Instance Method Details

#outpost_model(options = {}) ⇒ Object



17
18
19
20
21
22
23
24
# File 'lib/outpost/model.rb', line 17

def outpost_model(options={})
  include Methods, Identifier, Routing, Naming, Serializer

  # Convenience for setting options on the class.
  options.each do |option, value|
    send("#{option}=", value)
  end
end