Class: PlatformAPI::AddonService

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

Overview

Add-on services represent add-ons that may be provisioned for apps. Endpoints under add-on services can be accessed without authentication.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ AddonService

Returns a new instance of AddonService.


777
778
779
# File 'lib/platform-api/client.rb', line 777

def initialize(client)
  @client = client
end

Instance Method Details

#info(addon_service_id_or_addon_service_name) ⇒ Object

Info for existing add-on-service.

Parameters:

  • addon_service_id_or_addon_service_name:

    unique identifier of this add-on-service or unique name of this add-on-service


784
785
786
# File 'lib/platform-api/client.rb', line 784

def info(addon_service_id_or_addon_service_name)
  @client.addon_service.info(addon_service_id_or_addon_service_name)
end

#listObject

List existing add-on-services.


789
790
791
# File 'lib/platform-api/client.rb', line 789

def list()
  @client.addon_service.list()
end