Sha256: 0d619c48e305c9010ed087c2882b96200675437a8327c2dd2a15f8e03a663eb3

Contents?: true

Size: 1.06 KB

Versions: 11

Compression:

Stored size: 1.06 KB

Contents

module CatarsePagarme
  class Configuration
    attr_accessor :api_key, :slip_tax, :credit_card_tax, :interest_rate, :host, :subdomain, :protocol,
      :max_installments, :minimum_value_for_installment, :credit_card_cents_fee, :pagarme_tax, :stone_tax,
      :cielo_tax, :cielo_installment_diners_tax, :cielo_installment_not_diners_tax,
      :cielo_installment_amex_tax, :cielo_installment_not_amex_tax, :ecr_key

    def initialize
      self.api_key = ''
      self.ecr_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
      self.host = 'catarse.me'
      self.subdomain = 'www'
      self.protocol = 'http'
      self.pagarme_tax = 0.0063
      self.stone_tax = 0.0307
      self.cielo_tax = 0.038
      self.cielo_installment_diners_tax = 0.048
      self.cielo_installment_not_diners_tax = 0.0455
      self.cielo_installment_amex_tax = 0.058
      self.cielo_installment_not_amex_tax = 0.048
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
catarse_pagarme-2.6.8 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.7 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.6 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.5 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.4 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.3 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.1 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.6.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.5.1 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.5.0 lib/catarse_pagarme/configuration.rb