Class: Twtxt::Yarn::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/twtxt/yarn.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#passwordObject (readonly)

Returns the value of attribute password.



29
30
31
# File 'lib/twtxt/yarn.rb', line 29

def password
  @password
end

#usernameObject (readonly)

Returns the value of attribute username.



29
30
31
# File 'lib/twtxt/yarn.rb', line 29

def username
  @username
end

#yarnpodObject (readonly)

Returns the value of attribute yarnpod.



29
30
31
# File 'lib/twtxt/yarn.rb', line 29

def yarnpod
  @yarnpod
end