Module: Rubyhorn::RestClient::Info
- Included in:
- MatterhornClient
- Defined in:
- lib/rubyhorn/rest_client/info.rb
Instance Method Summary collapse
-
#components ⇒ Object
Return ruby object corresponding to JSON returned from info/components.json.
-
#me ⇒ Object
Return ruby object corresponding to JSON returned from info/me.json.
Instance Method Details
#components ⇒ Object
Return ruby object corresponding to JSON returned from info/components.json
11 12 13 |
# File 'lib/rubyhorn/rest_client/info.rb', line 11 def components return JSON.parse(get("info/components.json")) end |
#me ⇒ Object
Return ruby object corresponding to JSON returned from info/me.json
6 7 8 |
# File 'lib/rubyhorn/rest_client/info.rb', line 6 def me return JSON.parse(get("info/me.json")) end |