Class: Remoting::Config
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Remoting::Config
- Defined in:
- lib/remoting/config.rb
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 |
# File 'lib/remoting/config.rb', line 7 def initialize hash = YAML.load_file(Rails.root.join('config', 'remote.yml')) super(hash["remote"]) end |