Method: DocuSign_Monitor::ApiClient#object_to_hash
- Defined in:
- lib/docusign_monitor/client/api_client.rb
#object_to_hash(obj) ⇒ String
Convert object(non-array) to hash.
358 359 360 361 362 363 364 |
# File 'lib/docusign_monitor/client/api_client.rb', line 358 def object_to_hash(obj) if obj.respond_to?(:to_hash) obj.to_hash else obj end end |