Module: TAPI::V3::Configurable::ClassMethods

Defined in:
lib/tapi/v3/configurable.rb

Instance Method Summary collapse

Instance Method Details

#configObject



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

def config
  Thread.current[:tapi_config] ||= {}
end

#config=(config) ⇒ Object



20
21
22
# File 'lib/tapi/v3/configurable.rb', line 20

def config=(config)
  Thread.current[:tapi_config] = config
end