Sha256: e5dc3f3c2920bad0c71122d10e55313cb2fe9c8a703aff5ed998c3f8b399ddec

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

require 'moip-assinaturas/version'
require 'active_support/core_ext/module/attribute_accessors'
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/deprecation'

module Moip
  module Assinaturas

    autoload :Plan,         'moip-assinaturas/plan'
    autoload :Customer,     'moip-assinaturas/customer'
    autoload :Subscription, 'moip-assinaturas/subscription'
    autoload :Invoice,      'moip-assinaturas/invoice'
    autoload :Payment,      'moip-assinaturas/payment'
    autoload :Webhooks,     'moip-assinaturas/webhooks'
    autoload :Client,       'moip-assinaturas/client'

    mattr_accessor :sandbox
    mattr_accessor :http_debug
    @@sandbox = false
    @@http_debug = false

    # Token de autenticação
    mattr_accessor :token

    # Chave de acesso ao serviço
    mattr_accessor :key

    class << self
      def config
        yield self
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
moip-assinaturas-0.6.0 lib/moip-assinaturas.rb
moip-assinaturas-0.5.1 lib/moip-assinaturas.rb