lib/billplz/configuration.rb in billplz-api-0.2.0 vs lib/billplz/configuration.rb in billplz-api-0.2.1

- old
+ new

@@ -1,16 +1,16 @@ module Billplz class Configuration - attr_accessor :api_key,:api_url, :http_timeout, :mode + attr_accessor :api_key, :api_url, :verbose, :perform_caching def initialize(options={}) - @http_timeout = 30 - @mode = 'live' + @verbose = false + @perform_caching = true end def options hash = Hash.new - %w[api_key api_url http_timeout mode].map{|key| hash[key.to_sym] = send(key) } + %w[api_key api_url verbose perform_caching].map{|key| hash[key.to_sym] = send(key) } hash end end def self.configuration \ No newline at end of file