lib/mpower/checkout.rb in mpower-1.2.1 vs lib/mpower/checkout.rb in mpower-1.2.2
- old
+ new
@@ -1,11 +1,12 @@
module MPower
module Checkout
class Core
include MPower::Utilities
- attr_accessor :status, :response_text, :response_code, :transaction_id, :description, :token
+ attr_accessor :status, :response_text, :response_code, :transaction_id, :description, :token, :result
def push_results(result={})
+ @result = result
@transaction_id = result["transaction_id"]
@description = result["description"]
@response_code = result["response_code"]
@response_text = result["response_text"]
@token = result["token"]
\ No newline at end of file