Module: Dialy::Config

Defined in:
lib/dialy/config.rb

Constant Summary collapse

DEFAULT_OPTIONS =
{
  :default_country_code => 49
}

Class Method Summary collapse

Class Method Details

.[](key) ⇒ Object



8
9
10
# File 'lib/dialy/config.rb', line 8

def [](key)
  @options[key.to_sym]
end

.[]=(key, value) ⇒ Object



12
13
14
# File 'lib/dialy/config.rb', line 12

def []=(key, value)
  @options[key.to_sym] = value
end