Class: FroyoApi::Client
- Inherits:
-
Object
- Object
- FroyoApi::Client
- Defined in:
- lib/froyo_api/client.rb
Instance Method Summary collapse
Instance Method Details
#request(path) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/froyo_api/client.rb', line 6 def request(path) = params(path) RestClient::Request.execute() do |response, request| JSON.parse(response.body) end end |