Class: UniqSysOmega::Tariffs::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/settings.rb

Defined Under Namespace

Classes: Proxy

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ Settings

Returns a new instance of Settings.



9
10
11
# File 'lib/settings.rb', line 9

def initialize(hash)
  @proxy = Proxy.new(hash)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(meth, *args) ⇒ Object



13
14
15
# File 'lib/settings.rb', line 13

def method_missing(meth, *args)
  @proxy.send(meth, *args)
end