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