Sha256: b0f78d82ad28726930d91f5e8b7f460f534cef3e15d3ab9ea0ba279e12865dcf
Contents?: true
Size: 439 Bytes
Versions: 2
Compression:
Stored size: 439 Bytes
Contents
module Payanyway module Response class Base @@_params = { 'MNT_TRANSACTION_ID' => :order_id }.invert.to_settings attr_reader :pretty_params def initialize(params) @params = params @pretty_params = @@_params.configure_by(params) end def error_message "ERROR! Invalid signature for order #{ @pretty_params[:order_id] }. Params: #{ @params.inspect }" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
payanyway-1.2.1 | lib/payanyway/response/base.rb |
payanyway-1.2.0 | lib/payanyway/response/base.rb |