Class: LetsencryptWebfaction::WebfactionApiCredentials
- Inherits:
-
Object
- Object
- LetsencryptWebfaction::WebfactionApiCredentials
- Defined in:
- lib/letsencrypt_webfaction/webfaction_api_credentials.rb
Instance Attribute Summary collapse
-
#api_server ⇒ Object
readonly
Returns the value of attribute api_server.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#servername ⇒ Object
readonly
Returns the value of attribute servername.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username:, password:, servername:, api_server:) ⇒ WebfactionApiCredentials
constructor
A new instance of WebfactionApiCredentials.
Constructor Details
#initialize(username:, password:, servername:, api_server:) ⇒ WebfactionApiCredentials
Returns a new instance of WebfactionApiCredentials.
8 9 10 11 12 13 |
# File 'lib/letsencrypt_webfaction/webfaction_api_credentials.rb', line 8 def initialize(username:, password:, servername:, api_server:) @username = username @password = password @servername = servername @api_server = api_server end |
Instance Attribute Details
#api_server ⇒ Object (readonly)
Returns the value of attribute api_server.
6 7 8 |
# File 'lib/letsencrypt_webfaction/webfaction_api_credentials.rb', line 6 def api_server @api_server end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
4 5 6 |
# File 'lib/letsencrypt_webfaction/webfaction_api_credentials.rb', line 4 def password @password end |
#servername ⇒ Object (readonly)
Returns the value of attribute servername.
5 6 7 |
# File 'lib/letsencrypt_webfaction/webfaction_api_credentials.rb', line 5 def servername @servername end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
3 4 5 |
# File 'lib/letsencrypt_webfaction/webfaction_api_credentials.rb', line 3 def username @username end |