Sha256: 67e5158ef3dc66b605deecfb49243acbe48343a94e5e3ccb642edb8fa47723a3

Contents?: true

Size: 377 Bytes

Versions: 4

Compression:

Stored size: 377 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
  end

  class << self
    attr_accessor :configuration
  end

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

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dineromail-0.0.4 lib/dineromail/configuration.rb
dineromail-0.0.3 lib/dineromail/configuration.rb
dineromail-0.0.2 lib/dineromail/configuration.rb
dineromail-0.0.1 lib/dineromail/configuration.rb