lib/oneaccess/api/v1_1/organizations.rb in oneaccess-1.2.0 vs lib/oneaccess/api/v1_1/organizations.rb in oneaccess-1.3.0
- old
+ new
@@ -1,13 +1,13 @@
# frozen_string_literal: true
-require_relative "../../response/organization_response"
+require_relative '../../response/organization_response'
module ONEAccess
module API
module V1_1
class Organizations < Base
- api_path "/organizations"
+ api_path '/organizations'
def self.get(id:)
resp = send_get("get/#{id}")
Response::OrganizationResponse.from_json(resp.body)
end