Class: Thesslstore::Order::Download

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

Instance Method Summary collapse

Instance Method Details

#as_json(opts = nil) ⇒ Object



21
22
23
24
# File 'lib/thesslstore/order/download.rb', line 21

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