Class: PlatformAPI::AddonAttachment
- Inherits:
-
Object
- Object
- PlatformAPI::AddonAttachment
- Defined in:
- lib/platform-api/client.rb
Overview
An add-on attachment represents a connection between an app and an add-on that it has been given access to.
Instance Method Summary collapse
- #create(body = {}) ⇒ Object
- #delete(addon_attachment_id) ⇒ Object
- #info(addon_attachment_id) ⇒ Object
- #info_by_app(app_id_or_app_name, addon_attachment_id_or_addon_attachment_name) ⇒ Object
-
#initialize(client) ⇒ AddonAttachment
constructor
A new instance of AddonAttachment.
-
#list ⇒ Object
List existing add-on attachments.
- #list_by_addon(addon_id_or_addon_name) ⇒ Object
- #list_by_app(app_id_or_app_name) ⇒ Object
- #resolution(body = {}) ⇒ Object
Constructor Details
#initialize(client) ⇒ AddonAttachment
Returns a new instance of AddonAttachment.
1072 1073 1074 |
# File 'lib/platform-api/client.rb', line 1072 def initialize(client) @client = client end |
Instance Method Details
#create(body = {}) ⇒ Object
1084 1085 1086 |
# File 'lib/platform-api/client.rb', line 1084 def create(body = {}) @client..create(body) end |
#delete(addon_attachment_id) ⇒ Object
1096 1097 1098 |
# File 'lib/platform-api/client.rb', line 1096 def delete() @client..delete() end |
#info(addon_attachment_id) ⇒ Object
1108 1109 1110 |
# File 'lib/platform-api/client.rb', line 1108 def info() @client..info() end |
#info_by_app(app_id_or_app_name, addon_attachment_id_or_addon_attachment_name) ⇒ Object
1153 1154 1155 |
# File 'lib/platform-api/client.rb', line 1153 def info_by_app(app_id_or_app_name, ) @client..info_by_app(app_id_or_app_name, ) end |
#list ⇒ Object
List existing add-on attachments.
1115 1116 1117 |
# File 'lib/platform-api/client.rb', line 1115 def list() @client..list() end |
#list_by_addon(addon_id_or_addon_name) ⇒ Object
1127 1128 1129 |
# File 'lib/platform-api/client.rb', line 1127 def list_by_addon(addon_id_or_addon_name) @client..list_by_addon(addon_id_or_addon_name) end |
#list_by_app(app_id_or_app_name) ⇒ Object
1139 1140 1141 |
# File 'lib/platform-api/client.rb', line 1139 def list_by_app(app_id_or_app_name) @client..list_by_app(app_id_or_app_name) end |
#resolution(body = {}) ⇒ Object
1165 1166 1167 |
# File 'lib/platform-api/client.rb', line 1165 def resolution(body = {}) @client..resolution(body) end |