lib/gateway/BaseResponse.rb in mundipagg_sdk-1.0.2 vs lib/gateway/BaseResponse.rb in mundipagg_sdk-1.0.3

- old
+ new

@@ -1,17 +1,17 @@ -class BaseResponse - - attr_accessor :RequestKey - - attr_accessor :MerchantKey - - attr_accessor :ErrorReport - - attr_accessor :InternalTime - - def to_json - hash = {} - instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } - hash - end - -end +class BaseResponse + + attr_accessor :RequestKey + + attr_accessor :MerchantKey + + attr_accessor :ErrorReport + + attr_accessor :InternalTime + + def to_json + hash = {} + instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } + hash + end + +end