Sha256: 8e6bed33d0166afb62f487d9e5b7102e3351798caaa763928cb5c5eeb930a121

Contents?: true

Size: 306 Bytes

Versions: 9

Compression:

Stored size: 306 Bytes

Contents

class ErrorReport

  attr_accessor :Category

  attr_accessor :ErrorItemCollection


  def initialize
    @ErrorItemCollection = Array.new;
  end

  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/ErrorReport.rb
mundipagg_sdk-1.0.1 lib/gateway/ErrorReport.rb
mundipagg_sdk-1.0.0 lib/gateway/ErrorReport.rb
mundipagg_api-1.3.1 lib/mundipagg/ErrorReport.rb
mundipagg_api-1.3.0 lib/mundipagg/ErrorReport.rb
mundipagg_api-1.1.1 lib/mundipagg/ErrorReport.rb
mundipagg_api-1.1.0 lib/mundipagg/ErrorReport.rb
mundipagg_api-1.0.1 lib/mundipagg/ErrorReport.rb
mundipagg_api-1.0.0 lib/mundipagg/ErrorReport.rb