Class: ZohoCrm::Organization::GetService
- Inherits:
-
BaseService
- Object
- BaseService
- ZohoCrm::Organization::GetService
- Defined in:
- lib/zoho_crm/organization/get_service.rb
Instance Method Summary collapse
-
#call ⇒ Object
Get a document.
Instance Method Details
#call ⇒ Object
Get a document.
www.zoho.com/crm/developer/docs/api/v7/get-org-data.html
Examples
service = ZohoCrm::Organization::GetService.call
service.success? # => true
service.errors # => #<ActiveModel::Errors []>
service.response # => #<Faraday::Response ...>
service.response.status # => 200
service.response.body # => {}
service.facade # => #<ZohoCrm::Organization::Facade ...>
service.facade.attributes
service.attributes
GET /crm/v7/org
28 29 30 |
# File 'lib/zoho_crm/organization/get_service.rb', line 28 def call connection.get('org') end |