Class: Toppr::Client
- Inherits:
-
Object
- Object
- Toppr::Client
- Defined in:
- lib/toppr/client.rb,
lib/toppr/client/user.rb,
lib/toppr/client/wallpaper.rb
Defined Under Namespace
Instance Method Summary collapse
-
#request(action, path, options) ⇒ Object
Make the request to the API.
Methods included from Wallpaper
Methods included from User
Instance Method Details
#request(action, path, options) ⇒ Object
Make the request to the API
14 15 16 |
# File 'lib/toppr/client.rb', line 14 def request(action, path, ) parse_response(self.class.send(action, path, )) end |