Method: Strutta::APIObject#all
- Defined in:
- lib/strutta-api/api_object.rb
permalink #all(params = {}) ⇒ Hash
GET index request (Uses instance vars of child object to generate resource path)
12 13 14 15 |
# File 'lib/strutta-api/api_object.rb', line 12 def all(params = {}) @game.verify_no_id(@id) @game.all(params, "#{@game.id}/#{@root_path}") end |