Class: CredSummoner::Okta::Credentials
- Inherits:
-
Object
- Object
- CredSummoner::Okta::Credentials
- Defined in:
- lib/credsummoner/okta/credentials.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#totp_token ⇒ Object
readonly
Returns the value of attribute totp_token.
Instance Method Summary collapse
-
#initialize(password, totp_token) ⇒ Credentials
constructor
A new instance of Credentials.
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
#password ⇒ Object (readonly)
Returns the value of attribute password.
4 5 6 |
# File 'lib/credsummoner/okta/credentials.rb', line 4 def password @password end |
#totp_token ⇒ Object (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 |