Sha256: b32e0424c88a032b028f1cbe07eee376d3006367479d69c787d13122ef02ab5e

Contents?: true

Size: 462 Bytes

Versions: 7

Compression:

Stored size: 462 Bytes

Contents

module CatarsePagarme
  class Configuration
    attr_accessor :api_key, :slip_tax, :credit_card_tax, :interest_rate,
      :max_installments, :minimum_value_for_installment, :credit_card_cents_fee

    def initialize
      self.api_key = ''
      self.slip_tax = 0
      self.credit_card_tax = 0
      self.interest_rate = 0
      self.max_installments = 12
      self.minimum_value_for_installment = 10
      self.credit_card_cents_fee = 0.39
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
catarse_pagarme-0.2.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.1.3 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.1.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.1.1 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.1.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.0.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-0.0.1 lib/catarse_pagarme/configuration.rb