Class: Thesslstore::Address

Inherits:
Object
  • Object
show all
Defined in:
lib/thesslstore/address.rb

Direct Known Subclasses

OrganizationAddress

Instance Method Summary collapse

Instance Method Details

#as_json(opts = nil) ⇒ Object



19
20
21
22
# File 'lib/thesslstore/address.rb', line 19

def as_json(opts = nil)
  hash = super
  hash.reject! { |k,v| v.nil?  }
end