Sha256: f931b8697f356b6811a550f75eb5cb452238d61bbfeaf34d29796ba7e658c5be

Contents?: true

Size: 281 Bytes

Versions: 4

Compression:

Stored size: 281 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/BaseResponse.rb
mundipagg_sdk-1.0.3 lib/gateway/BaseResponse.rb
stone_ecommerce-1.0.2 lib/gateway/BaseResponse.rb
stone_ecommerce-1.0.0 lib/gateway/BaseResponse.rb