Class: Puppeteer::NetworkManager::Credentials
- Inherits:
-
Object
- Object
- Puppeteer::NetworkManager::Credentials
- Defined in:
- lib/puppeteer/network_manager.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username:, password:) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username:, password:) ⇒ Credentials
Returns a new instance of Credentials.
9 10 11 12 |
# File 'lib/puppeteer/network_manager.rb', line 9 def initialize(username:, password:) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
13 14 15 |
# File 'lib/puppeteer/network_manager.rb', line 13 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
13 14 15 |
# File 'lib/puppeteer/network_manager.rb', line 13 def username @username end |