class IntegrationSettings

Attributes

details[R]
dns[R]
password[R]
project_server[R]
project_server_id[R]
username[R]

Public Class Methods

new(dns, username, password, details = nil, project_server = nil, project_server_id = nil) click to toggle source
# File lib/params/integration_settings.rb, line 9
def initialize(dns, username, password, details = nil, project_server = nil, project_server_id = nil)
  @dns = dns
  @username = username
  @password = password
  @details = details
  @project_server = project_server
  @project_server_id = project_server_id
end

Public Instance Methods

to_params() click to toggle source
# File lib/params/integration_settings.rb, line 18
def to_params
  params = {}
  params["SS_integration_dns"] = @dns
  params["SS_integration_username"] = @username
  params["SS_integration_password"] = @password
  params["SS_integration_details"] = @details

  params
end