Sha256: 02cd8f7c546d47639d2d165ad50af258903269397eed4c6fa873c91831704d15

Contents?: true

Size: 1.14 KB

Versions: 13

Compression:

Stored size: 1.14 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,
      :stone_installment_tax, :cielo_tax, :cielo_installment_diners_tax, :cielo_installment_not_diners_tax,
      :cielo_installment_amex_tax, :cielo_installment_not_amex_tax, :ecr_key, :slip_week_day_interval

    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
      self.host = 'catarse.me'
      self.subdomain = 'www'
      self.protocol = 'http'
      self.pagarme_tax = 0
      self.stone_tax = 0
      self.stone_installment_tax = 0
      self.cielo_tax = 0
      self.cielo_installment_diners_tax = 0
      self.cielo_installment_not_diners_tax = 0
      self.cielo_installment_amex_tax = 0
      self.cielo_installment_not_amex_tax = 0
      self.slip_week_day_interval = 2
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
catarse_pagarme-2.9.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.10 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.9 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.8 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.7 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.6 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.5 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.4 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.3 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.1 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.8.0 lib/catarse_pagarme/configuration.rb