Sha256: 743afc116174c4524c8e69af34910366095ce0fef1f58616e158bf79da577118

Contents?: true

Size: 418 Bytes

Versions: 7

Compression:

Stored size: 418 Bytes

Contents

module Dineromail
  class Configuration
    attr_accessor :payment_url, :ipn_webservice_url, :account_number, :password,
              :logo_url, :return_url, :error_url, :pay_methods, :currency, :button_image_url
            
    PESO = 1
    DOLLAR = 2
  end

  class << self
    attr_accessor :configuration
  end

  def self.configure
    self.configuration ||= Configuration.new
    yield configuration
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dineromail-0.2.1 lib/dineromail/configuration.rb
dineromail-0.2.0 lib/dineromail/configuration.rb
dineromail-0.1.4 lib/dineromail/configuration.rb
dineromail-0.1.3 lib/dineromail/configuration.rb
dineromail-0.1.2 lib/dineromail/configuration.rb
dineromail-0.1.1 lib/dineromail/configuration.rb
dineromail-0.1.0 lib/dineromail/configuration.rb