Method: NucleusApi::FxRate#to_hash
- Defined in:
- lib/nucleus_api/models/fx_rate.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
206 207 208 209 210 211 212 213 |
# File 'lib/nucleus_api/models/fx_rate.rb', line 206 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 |