Sha256: 48f8cc4762a886d81e4501b9ce2bd3b8b373c98d6d5ca8686832ded28453a495

Contents?: true

Size: 295 Bytes

Versions: 9

Compression:

Stored size: 295 Bytes

Contents

class ErrorItem

  attr_accessor :ErrorCode

  attr_accessor :ErrorField

  attr_accessor :Description

  attr_accessor :SeverityCode

  def to_json
    hash = {}
    instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
    hash
  end
  
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mundipagg_sdk-1.0.2 lib/gateway/ErrorItem.rb
mundipagg_sdk-1.0.1 lib/gateway/ErrorItem.rb
mundipagg_sdk-1.0.0 lib/gateway/ErrorItem.rb
mundipagg_api-1.3.1 lib/mundipagg/ErrorItem.rb
mundipagg_api-1.3.0 lib/mundipagg/ErrorItem.rb
mundipagg_api-1.1.1 lib/mundipagg/ErrorItem.rb
mundipagg_api-1.1.0 lib/mundipagg/ErrorItem.rb
mundipagg_api-1.0.1 lib/mundipagg/ErrorItem.rb
mundipagg_api-1.0.0 lib/mundipagg/ErrorItem.rb