Method: DocuSign_Admin::OAuth::UserInfo#to_hash
- Defined in:
- lib/docusign_admin/client/auth/oauth.rb
#to_hash ⇒ Hash
Returns the object in the form of hash
1031 1032 1033 1034 1035 1036 1037 1038 1039 |
# File 'lib/docusign_admin/client/auth/oauth.rb', line 1031 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 |