Class: Yardi::Parameter::Credential

Inherits:
Object
  • Object
show all
Defined in:
lib/yardi/parameter/credential.rb

Overview

Contains PMC-specific data for interfacing with Yardi’s API.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#databaseObject (readonly)

Returns the value of attribute database.



5
6
7
# File 'lib/yardi/parameter/credential.rb', line 5

def database
  @database
end

#passwordObject (readonly)

Returns the value of attribute password.



5
6
7
# File 'lib/yardi/parameter/credential.rb', line 5

def password
  @password
end

#serverObject (readonly)

Returns the value of attribute server.



5
6
7
# File 'lib/yardi/parameter/credential.rb', line 5

def server
  @server
end

#usernameObject (readonly)

Returns the value of attribute username.



5
6
7
# File 'lib/yardi/parameter/credential.rb', line 5

def username
  @username
end

#web_service_urlObject (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