Class: PlatformAPI::TeamDelinquency

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

A Heroku team becomes delinquent due to non-payment. We suspend and delete delinquent teams if their invoices remain unpaid.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ TeamDelinquency

Returns a new instance of TeamDelinquency.



3205
3206
3207
# File 'lib/platform-api/client.rb', line 3205

def initialize(client)
  @client = client
end

Instance Method Details

#info(team_name_or_team_id) ⇒ Object

Team delinquency information.

Parameters:

  • team_name_or_team_id:

    unique name of team or unique identifier of team



3212
3213
3214
# File 'lib/platform-api/client.rb', line 3212

def info(team_name_or_team_id)
  @client.team_delinquency.info(team_name_or_team_id)
end