Sha256: 3edc7bea075817471b406711d66e93e64ef7fe920a5a629a4f69f9db0c17388c

Contents?: true

Size: 1.19 KB

Versions: 11

Compression:

Stored size: 1.19 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, :antifraud_tax

    def initialize
      self.api_key = ''
      self.ecr_key = ''
      self.slip_tax = 0
      self.credit_card_tax = 0
      self.antifraud_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

11 entries across 11 versions & 1 rubygems

Version Path
catarse_pagarme-2.9.13 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.12 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.11 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.10 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.9 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.8 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.7 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.6 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.5 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.4 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.9.3 lib/catarse_pagarme/configuration.rb