Method: DocuSign_Maestro::OAuth::OAuthToken#to_hash
- Defined in:
- lib/docusign_maestro/client/auth/oauth.rb
permalink #to_hash ⇒ Hash
Returns the object in the form of hash
606 607 608 609 610 611 612 613 614 |
# File 'lib/docusign_maestro/client/auth/oauth.rb', line 606 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 |