Module: Spearly::Auth::TeamSubscription

Included in:
Client
Defined in:
lib/spearly/auth/team_subscription.rb

Instance Method Summary collapse

Instance Method Details

#get_team_subscriptions(team_id, params) ⇒ Object

GET /teams/:team_id/subscriptions



7
8
9
10
11
12
13
14
15
# File 'lib/spearly/auth/team_subscription.rb', line 7

def get_team_subscriptions(team_id, params)
  response = run_request(
    :method => :get,
    path: "/teams/#{team_id}/subscriptions",
    params: params
  )

  process_response(response)
end