Sha256: 603ff7c0d70c0ac2b7cb0aef9e0789d6c2da64d0f25387d1d287a236d626999c

Contents?: true

Size: 700 Bytes

Versions: 4

Compression:

Stored size: 700 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'
  autoload :RecordNotFound, 'postman_mta/record_not_found'

  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.8 lib/postman_mta.rb
postman_mta-0.2.7 lib/postman_mta.rb
postman_mta-0.2.6 lib/postman_mta.rb
postman_mta-0.2.4 lib/postman_mta.rb