Class: Mscrmrails::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
15
16
17
18
19
20
# File 'lib/mscrmrails.rb', line 11

def initialize
  self.server = nil
  self.port = '5555'
  self.soap_header = '<soap:Header></soap:Header>'
  self.server_path = 'mscrmservices/2006/crmservice.asmx'
  self.domain = nil
  self.username = nil
  self.password = nil
  self.guid = nil
end

Instance Attribute Details

#domainObject

Returns the value of attribute domain.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def domain
  @domain
end

#guidObject

Returns the value of attribute guid.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def guid
  @guid
end

#passwordObject

Returns the value of attribute password.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def password
  @password
end

#portObject

Returns the value of attribute port.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def port
  @port
end

#serverObject

Returns the value of attribute server.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def server
  @server
end

#server_pathObject

Returns the value of attribute server_path.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def server_path
  @server_path
end

#soap_headerObject

Returns the value of attribute soap_header.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def soap_header
  @soap_header
end

#usernameObject

Returns the value of attribute username.



9
10
11
# File 'lib/mscrmrails.rb', line 9

def username
  @username
end