Class: PlatformAPI::AddonService
- Inherits:
-
Object
- Object
- PlatformAPI::AddonService
- 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
-
#info(addon_service_id_or_addon_service_name) ⇒ Object
Info for existing add-on-service.
-
#initialize(client) ⇒ AddonService
constructor
A new instance of AddonService.
-
#list ⇒ Object
List existing add-on-services.
Constructor Details
#initialize(client) ⇒ AddonService
Returns a new instance of AddonService.
996 997 998 |
# File 'lib/platform-api/client.rb', line 996 def initialize(client) @client = client end |
Instance Method Details
#info(addon_service_id_or_addon_service_name) ⇒ Object
Info for existing add-on-service.
1003 1004 1005 |
# File 'lib/platform-api/client.rb', line 1003 def info(addon_service_id_or_addon_service_name) @client.addon_service.info(addon_service_id_or_addon_service_name) end |
#list ⇒ Object
List existing add-on-services.
1008 1009 1010 |
# File 'lib/platform-api/client.rb', line 1008 def list() @client.addon_service.list() end |