Class: Mscrmrails::Configuration
- Inherits:
-
Object
- Object
- Mscrmrails::Configuration
- Defined in:
- lib/mscrmrails.rb
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#guid ⇒ Object
Returns the value of attribute guid.
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
-
#server ⇒ Object
Returns the value of attribute server.
-
#server_path ⇒ Object
Returns the value of attribute server_path.
-
#soap_header ⇒ Object
Returns the value of attribute soap_header.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#domain ⇒ Object
Returns the value of attribute domain.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def domain @domain end |
#guid ⇒ Object
Returns the value of attribute guid.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def guid @guid end |
#password ⇒ Object
Returns the value of attribute password.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def port @port end |
#server ⇒ Object
Returns the value of attribute server.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def server @server end |
#server_path ⇒ Object
Returns the value of attribute server_path.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def server_path @server_path end |
#soap_header ⇒ Object
Returns the value of attribute soap_header.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def soap_header @soap_header end |
#username ⇒ Object
Returns the value of attribute username.
9 10 11 |
# File 'lib/mscrmrails.rb', line 9 def username @username end |