Class: ONEAccess::API::V1_1::Organizations
- Defined in:
- lib/oneaccess/api/v1_1/organizations.rb
Class Method Summary collapse
Methods inherited from ApiBase
api_url, resource_api_path, send_get, send_post
Class Method Details
.get(id:) ⇒ Object
11 12 13 14 |
# File 'lib/oneaccess/api/v1_1/organizations.rb', line 11 def self.get(id:) resp = send_get("get/#{id}") Response::OrganizationResponse.from_json(resp.body) end |