module Bluepay::Parameters
Constants
- BOOLEAN_CONVERTER
- DEFAULT_CONVERTER
Public Class Methods
included(receiver)
click to toggle source
# File lib/bluepay/parameters.rb, line 14 def self.included(receiver) receiver.attr_writer :params receiver.extend ClassMethods end
Public Instance Methods
bluepay_params()
click to toggle source
# File lib/bluepay/parameters.rb, line 54 def bluepay_params converted_params.inject(Hash.new) {|memo, kv| k, v = kv memo[k.to_s.upcase] = v memo } end
converted_params()
click to toggle source
# File lib/bluepay/parameters.rb, line 46 def converted_params params.inject(Hash.new) {|memo, kv| k, v = kv memo[k] = self.class.convert!(k, v) memo } end
params()
click to toggle source
# File lib/bluepay/parameters.rb, line 42 def params @params ||= Hash.new end