Class: Twtxt::Yarn::Credentials
- Inherits:
-
Object
- Object
- Twtxt::Yarn::Credentials
- Defined in:
- lib/twtxt/yarn.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
-
#yarnpod ⇒ Object
readonly
Returns the value of attribute yarnpod.
Instance Method Summary collapse
-
#initialize(username, password, yarnpod) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username, password, yarnpod) ⇒ Credentials
Returns a new instance of Credentials.
31 32 33 34 35 |
# File 'lib/twtxt/yarn.rb', line 31 def initialize(username, password, yarnpod) @username = username @password = password @yarnpod = yarnpod end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
29 30 31 |
# File 'lib/twtxt/yarn.rb', line 29 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
29 30 31 |
# File 'lib/twtxt/yarn.rb', line 29 def username @username end |
#yarnpod ⇒ Object (readonly)
Returns the value of attribute yarnpod.
29 30 31 |
# File 'lib/twtxt/yarn.rb', line 29 def yarnpod @yarnpod end |