Sha256: c93fe19b28d8eb77a794fd800d2a41503d0474ffa5c4c2aadc8bef02de0fa68d

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 Bytes

Contents

require "clx_rest_api/uri_interpretation"
require "clx_rest_api/endpoint_dsl"

module CLXRestAPI
  class Client
    extend EndpointDSL

    define_endpoint :send_batch_message, :post, "/batches"
    define_endpoint :retrieve_delivery_report, :get, "/batches/:batch_id/delivery_report"

    def initialize(config = CLXRestAPI.config)
      @config = config
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
clx_rest_api-0.1.4 lib/clx_rest_api/client.rb
clx_rest_api-0.1.3 lib/clx_rest_api/client.rb
clx_rest_api-0.1.2 lib/clx_rest_api/client.rb
clx_rest_api-0.1.1 lib/clx_rest_api/client.rb
clx_rest_api-0.1.0 lib/clx_rest_api/client.rb