Sha256: 7ccd0aa8672363d4c4a12ace800d5b1d668d2ea056689ad798a8467f58206353

Contents?: true

Size: 641 Bytes

Versions: 4

Compression:

Stored size: 641 Bytes

Contents

require 'postman_mta/version'
require 'postman_mta/engine'

module PostmanMta
  module Utils
    autoload :Signature, 'postman_mta/utils/signature'
    autoload :SignedRequest, 'postman_mta/utils/signed_request'
    autoload :SendfileUrl, 'postman_mta/utils/sendfile_url'
  end

  autoload :ApiClient, 'postman_mta/api_client'
  autoload :ApiRequest, 'postman_mta/api_request'

  mattr_accessor :api_key
  mattr_accessor :api_secret
  mattr_accessor :api_endpoint

  # This block will be executed before request, and return value will be merged to params hash
  mattr_accessor :before_request_hook

  def self.setup
    yield self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
postman_mta-0.2.3 lib/postman_mta.rb
postman_mta-0.2.2 lib/postman_mta.rb
postman_mta-0.2.1 lib/postman_mta.rb
postman_mta-0.2.0 lib/postman_mta.rb