Sha256: 32411f545606e9266049d301e6889c93dff0c686373cfa68ebd5d7d7d60fcec6
Contents?: true
Size: 360 Bytes
Versions: 4
Compression:
Stored size: 360 Bytes
Contents
class Address attr_accessor :Country attr_accessor :State attr_accessor :City attr_accessor :District attr_accessor :Street attr_accessor :Number attr_accessor :Complement attr_accessor :ZipCode 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/address.rb |
mundipagg_sdk-1.0.3 | lib/gateway/address.rb |
stone_ecommerce-1.0.2 | lib/gateway/address.rb |
stone_ecommerce-1.0.0 | lib/gateway/address.rb |