class Channel

Public Instance Methods

archive_channel(app_id:, channel_id:) click to toggle source
# File lib/api/channel/channel.rb, line 16
def archive_channel(app_id:, channel_id:)
        method = "POST"
        endpoint = "app/" + app_id + "/channel/" + channel_id + "/archive"
        uri = ApiUri::build_uri(endpoint)
        return @client.request_json(method, uri)
end
create_channel(app_id:, options:) click to toggle source
# File lib/api/channel/channel.rb, line 2
def create_channel(app_id:, options:)
        method = "POST"
        endpoint = "app/" + app_id + "/channel"
        uri = ApiUri::build_uri(endpoint)
        return @client.request_json(method, uri, options)
end
list_releases(app_id:, channel_id:) click to toggle source
# File lib/api/channel/channel.rb, line 30
def list_releases(app_id:, channel_id:)
        method = "GET"
        endpoint = "app/" + app_id + "/channel/" + channel_id + "/releases"
        uri = ApiUri::build_uri(endpoint)
        return @client.request_json(method, uri)
end
update_channel(app_id:, channel_id:, options:) click to toggle source
# File lib/api/channel/channel.rb, line 9
def update_channel(app_id:, channel_id:, options:)
        method = "POST"
        endpoint = "app/" + app_id + "/channel/" + channel_id
        uri = ApiUri::build_uri(endpoint)
        return @client.request_json(method, uri, options)
end
update_release(app_id:, channel_id:, sequence:, options:) click to toggle source
# File lib/api/channel/channel.rb, line 23
def update_release(app_id:, channel_id:, sequence:, options:)
        method = "POST"
        endpoint = "app/" + app_id + "/channel/" + channel_id + "/release/" + sequence
        uri = ApiUri::build_uri(endpoint)
        return @client.request_json(method, uri, options)
end