Class: Tiltify::TeamsResource
- Defined in:
- lib/tiltify/resources/teams.rb
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Constructor Details
This class inherits a constructor from Tiltify::Resource
Instance Method Details
#campaigns(team_id:) ⇒ Object
8 9 10 11 |
# File 'lib/tiltify/resources/teams.rb', line 8 def campaigns(team_id:) response = get_request("teams/#{team_id}/campaigns") Collection.from_response(response, type: Campaign) end |