Sha256: 91030f416d8c7ca593aa0c888db51d2a57e7d0fd2db8464429b50a8ba8fc7fba

Contents?: true

Size: 1.23 KB

Versions: 18

Compression:

Stored size: 1.23 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, :use_simility

    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
      self.use_simility = true
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
catarse_pagarme-2.13.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.12.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.11.0 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.15 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.14 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.13 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.12 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.11 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.10 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.9 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.8 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.7 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.6 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.5 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.4 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.2 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.1 lib/catarse_pagarme/configuration.rb
catarse_pagarme-2.10.0 lib/catarse_pagarme/configuration.rb