Method: Signet::OAuth2::Client#username=

Defined in:
lib/signet/oauth_2/client.rb

#username=(new_username) ⇒ Object

Sets the username associated with this client. Used only by the resource owner password credential access grant type.

Parameters:

  • new_username (String)

    The username.



514
515
516
# File 'lib/signet/oauth_2/client.rb', line 514

def username= new_username
  @username = new_username
end