Module: BWAPI::Client::Brandwatch::Become

Included in:
BWAPI::Client::Brandwatch
Defined in:
lib/bwapi/client/brandwatch/become.rb

Instance Method Summary collapse

Instance Method Details

#brandwatch_become(id) ⇒ Hashie::Mash

Note:

must be a super admin user

Become user

Parameters:

  • id (Integer)

    The user id

Returns:

  • (Hashie::Mash)

    User credentials



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

def brandwatch_become id
  get "brandwatch/become/#{id}"
end