Sha256: f7738c38c9f2dfb5836a6549fdda512c9e8c29ea36653c2f0fba413b18865fdf

Contents?: true

Size: 710 Bytes

Versions: 2

Compression:

Stored size: 710 Bytes

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

    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
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
catarse_pagarme-2.3.10 lib/catarse_pagarme/configuration.rb
catarse_pagarme-1.4.9 lib/catarse_pagarme/configuration.rb