Module: BWAPI::Client::SSO

Included in:
BWAPI::Client
Defined in:
lib/bwapi/client/sso.rb

Instance Method Summary collapse

Instance Method Details

#sso(id) ⇒ Hashie::Mash

Note:

must have sso oauth_token

Authorize another user for access

Parameters:

  • user_id (Integer)

    The user id

Returns:

  • (Hashie::Mash)

    User authorization

See Also:



12
13
14
# File 'lib/bwapi/client/sso.rb', line 12

def sso id
  get "sso/#{id}"
end