Sha256: 695116a7506c03702ba041d890157e7c515abf778f336e43c222fe8a066cb187

Contents?: true

Size: 778 Bytes

Versions: 13

Compression:

Stored size: 778 Bytes

Contents

# frozen_string_literal: true

module Svix
    class ApplicationAPI
        def initialize(api_client)
            @api = ApplicationApi.new(api_client)
        end

        def list(options = {})
            return @api.list_applications_api_v1_app_get(options)
        end

        def create(application_in)
            return @api.create_application_api_v1_app_post(application_in)
        end

        def get(app_id)
            return @api.get_application_api_v1_app_app_id_get(app_id)
        end

        def update(app_id, application_in)
            return @api.update_application_api_v1_app_app_id_put(app_id, application_in)
        end

        def delete(app_id)
            return @api.delete_application_api_v1_app_app_id_delete(app_id)
        end
    end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
svix-0.50.0 lib/svix/application_api.rb
svix-0.48.0 lib/svix/application_api.rb
svix-0.45.0 lib/svix/application_api.rb
svix-0.44.0 lib/svix/application_api.rb
svix-0.43.2 lib/svix/application_api.rb
svix-0.41.0 lib/svix/application_api.rb
svix-0.40.0 lib/svix/application_api.rb
svix-0.39.0 lib/svix/application_api.rb
svix-0.38.0 lib/svix/application_api.rb
svix-0.37.0 lib/svix/application_api.rb
svix-0.36.0 lib/svix/application_api.rb
svix-0.34.1 lib/svix/application_api.rb
svix-0.32.0 lib/svix/application_api.rb