Module: Selligent::Client::Organizations

Included in:
Selligent::Client
Defined in:
lib/selligent/client/organizations.rb

Overview

Implements the organizations endpoints

/organizations/*

Instance Method Summary collapse

Instance Method Details

#organizationObject

Get details of the current organization



15
16
17
# File 'lib/selligent/client/organizations.rb', line 15

def organization
  get base_url
end

#organizationsObject

Get an overview of all the organizations



10
11
12
# File 'lib/selligent/client/organizations.rb', line 10

def organizations
  get "#{root_url}/organizations"
end