Class: Wes::Cloudkit::AppConfig
- Inherits:
-
Object
- Object
- Wes::Cloudkit::AppConfig
- Defined in:
- lib/wes/cloudkit/app_config.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize ⇒ AppConfig
constructor
A new instance of AppConfig.
- #node(s) ⇒ Object
Constructor Details
#initialize ⇒ AppConfig
Returns a new instance of AppConfig.
7 8 9 |
# File 'lib/wes/cloudkit/app_config.rb', line 7 def initialize @json = parse end |
Instance Method Details
#all ⇒ Object
11 12 13 |
# File 'lib/wes/cloudkit/app_config.rb', line 11 def all json end |
#node(s) ⇒ Object
15 16 17 |
# File 'lib/wes/cloudkit/app_config.rb', line 15 def node(s) OpenStruct.new json[s] end |