class Billplz::Configuration

Attributes

api_key[RW]
api_url[RW]
perform_caching[RW]
verbose[RW]

Public Class Methods

new(options={}) click to toggle source
# File lib/billplz/configuration.rb, line 5
def initialize(options={})
  @verbose = false
  @perform_caching = true
end

Public Instance Methods

options() click to toggle source
# File lib/billplz/configuration.rb, line 10
def options
  hash = Hash.new
  %w[api_key api_url verbose perform_caching].map{|key| hash[key.to_sym] = send(key) }
  hash
end