Method: NucleusApi::GoalTrack#to_hash

Defined in:
lib/nucleus_api/models/goal_track.rb

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



345
346
347
348
349
350
351
352
# File 'lib/nucleus_api/models/goal_track.rb', line 345

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