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

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

Overview

Become module for brandwatch/become endpoint

Instance Method Summary collapse

Instance Method Details

#brandwatch_become(user_id) ⇒ Hash

Become user

Parameters:

  • user_id (Integer)

    The user id

Returns:

  • (Hash)

    User credentials



10
11
12
# File 'lib/bwapi/client/brandwatch/become.rb', line 10

def brandwatch_become(user_id)
  get "brandwatch/become/#{user_id}"
end