Method: Wire4Client::AccountDetail#to_hash
- Defined in:
- lib/wire4_client/models/account_detail.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
211 212 213 214 215 216 217 218 219 |
# File 'lib/wire4_client/models/account_detail.rb', line 211 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 |