module CubaApi::Config::ClassMethods
Public Instance Methods
[]( key )
click to toggle source
# File lib/cuba_api/config.rb, line 32 def []( key ) config[ key ] || settings[ key ] || (superclass.respond_to?( :[] ) ? superclass[ key ] : (superclass == Cuba ? Cuba.settings[ key ] : nil ) ) end
[]=( key, value )
click to toggle source
# File lib/cuba_api/config.rb, line 36 def []=( key, value ) config[ key ] = value end
config()
click to toggle source
# File lib/cuba_api/config.rb, line 28 def config @config ||= {} end