Class: CredSummoner::Okta::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/credsummoner/okta/credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(password, totp_token) ⇒ Credentials

Returns a new instance of Credentials.



6
7
8
9
# File 'lib/credsummoner/okta/credentials.rb', line 6

def initialize(password, totp_token)
  @password = password
  @totp_token = totp_token
end

Instance Attribute Details

#passwordObject (readonly)

Returns the value of attribute password.



4
5
6
# File 'lib/credsummoner/okta/credentials.rb', line 4

def password
  @password
end

#totp_tokenObject (readonly)

Returns the value of attribute totp_token.



4
5
6
# File 'lib/credsummoner/okta/credentials.rb', line 4

def totp_token
  @totp_token
end