Sha256: 5d17bf52e11052d775d740beb2c7c648342d51724248020311ae2139a8e71c7c
Contents?: true
Size: 278 Bytes
Versions: 4
Compression:
Stored size: 278 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
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
stone_ecommerce-1.0.3 | lib/gateway/ErrorItem.rb |
mundipagg_sdk-1.0.3 | lib/gateway/ErrorItem.rb |
stone_ecommerce-1.0.2 | lib/gateway/ErrorItem.rb |
stone_ecommerce-1.0.0 | lib/gateway/ErrorItem.rb |