Class: Noip::Credentials

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, password, host) ⇒ Credentials

Returns a new instance of Credentials.



4
5
6
7
8
# File 'lib/noip/credentials.rb', line 4

def initialize(username, password, host)
  @username = username
  @password = password
  @host     = host
end

Instance Attribute Details

#hostObject (readonly)

Returns the value of attribute host.



10
11
12
# File 'lib/noip/credentials.rb', line 10

def host
  @host
end

#passwordObject (readonly)

Returns the value of attribute password.



10
11
12
# File 'lib/noip/credentials.rb', line 10

def password
  @password
end

#usernameObject (readonly)

Returns the value of attribute username.



10
11
12
# File 'lib/noip/credentials.rb', line 10

def username
  @username
end