Method: PureCloud::EdgeLine#to_hash

Defined in:
lib/purecloud/models/edge_line.rb

#to_hashObject

return the object in the form of hash



353
354
355
356
357
358
359
360
361
# File 'lib/purecloud/models/edge_line.rb', line 353

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end