Sha256: 4f76b3972f44658fcffe02e463b5893e78b32869f7fc93a2ae6d29218170f024

Contents?: true

Size: 588 Bytes

Versions: 27

Compression:

Stored size: 588 Bytes

Contents

# frozen_string_literal: true

module Svix
  class MessageAPI
    def initialize(api_client)
      @api = MessageApi.new(api_client)
    end

    def list(app_id, options = {})
      return @api.v1_message_list(app_id, options)
    end

    def create(app_id, message_in, options = {})
      return @api.v1_message_create(app_id, message_in, options)
    end

    def get(app_id, msg_id, options = {})
      return @api.v1_message_get(app_id, msg_id, options)
    end

    def expunge_content(app_id, msg_id)
      return @api.v1_message_expunge_content(app_id, msg_id)
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
svix-1.41.0 lib/svix/message_api.rb
svix-1.40.0 lib/svix/message_api.rb
svix-1.39.0 lib/svix/message_api.rb
svix-1.38.0 lib/svix/message_api.rb
svix-1.37.0 lib/svix/message_api.rb
svix-1.36.0 lib/svix/message_api.rb
svix-1.35.0 lib/svix/message_api.rb
svix-1.34.0 lib/svix/message_api.rb
svix-1.33.0 lib/svix/message_api.rb
svix-1.32.0 lib/svix/message_api.rb
svix-1.31.0 lib/svix/message_api.rb
svix-1.30.0 lib/svix/message_api.rb
svix-1.29.0 lib/svix/message_api.rb
svix-1.28.0 lib/svix/message_api.rb
svix-1.27.0 lib/svix/message_api.rb
svix-1.26.0 lib/svix/message_api.rb
svix-1.25.0 lib/svix/message_api.rb
svix-1.23.0 lib/svix/message_api.rb
svix-1.22.0 lib/svix/message_api.rb
svix-1.21.0 lib/svix/message_api.rb