Sha256: cc19d10fb616b3f54f441f2105ff80c6843fc628fb2e3557b3ce009e8e4c48a1
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
# frozen_string_literal: true require_relative "../response/organizations_response" module ONEAccess module API class Organizations < Base api_path "/organizations" def self.get(id:) resp = send_get("get/#{id}") Response::OrganizationsResponse.from_json(resp.body) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-0.1.3 | lib/oneaccess/api/organizations.rb |
oneaccess-0.1.2 | lib/oneaccess/api/organizations.rb |
oneaccess-0.1.1 | lib/oneaccess/api/organizations.rb |