Sha256: f1afb79ce4a0a29f2d67bbf274d9dcea55dfed85d0d4f630f7a7f420c4bd2a31

Contents?: true

Size: 288 Bytes

Versions: 4

Compression:

Stored size: 288 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

4 entries across 4 versions & 2 rubygems

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