Module: Gorillib::Configurable::ClassMethods

Defined in:
lib/gorillib/configurable.rb

Instance Method Summary collapse

Instance Method Details

#config(name, type, options = {}) ⇒ Object



16
17
18
# File 'lib/gorillib/configurable.rb', line 16

def config(name, type, options = {})
  field(name, type, options)
end

#receive(attrs = {}, &blk) ⇒ Object



11
12
13
14
# File 'lib/gorillib/configurable.rb', line 11

def receive(attrs = {}, &blk)            
  conf = settings.load_configuration_in_order!(configuration_scope.to_s)
  super(attrs.merge(conf), &blk)
end