Class: Yardi::Parameter::Credential
- Inherits:
-
Object
- Object
- Yardi::Parameter::Credential
- Defined in:
- lib/yardi/parameter/credential.rb
Overview
Contains PMC-specific data for interfacing with Yardi’s API.
Instance Attribute Summary collapse
-
#database ⇒ Object
readonly
Returns the value of attribute database.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
-
#web_service_url ⇒ Object
readonly
Returns the value of attribute web_service_url.
Instance Method Summary collapse
-
#initialize(database:, password:, server:, username:, web_service_url:) ⇒ Credential
constructor
A new instance of Credential.
Constructor Details
#initialize(database:, password:, server:, username:, web_service_url:) ⇒ Credential
Returns a new instance of Credential.
7 8 9 10 11 12 13 |
# File 'lib/yardi/parameter/credential.rb', line 7 def initialize(database:, password:, server:, username:, web_service_url:) @database = database @password = password @server = server @username = username @web_service_url = web_service_url end |
Instance Attribute Details
#database ⇒ Object (readonly)
Returns the value of attribute database.
5 6 7 |
# File 'lib/yardi/parameter/credential.rb', line 5 def database @database end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
5 6 7 |
# File 'lib/yardi/parameter/credential.rb', line 5 def password @password end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
5 6 7 |
# File 'lib/yardi/parameter/credential.rb', line 5 def server @server end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
5 6 7 |
# File 'lib/yardi/parameter/credential.rb', line 5 def username @username end |
#web_service_url ⇒ Object (readonly)
Returns the value of attribute web_service_url.
5 6 7 |
# File 'lib/yardi/parameter/credential.rb', line 5 def web_service_url @web_service_url end |