Class: Davidsons::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



35
36
37
38
39
40
# File 'lib/davidsons.rb', line 35

def initialize
  @debug      ||= false
  @ftp_host   ||= "ftp.davidsonsinventory.com"
  @proxy_url  ||= "http://172.31.69.148:8888"
  @xmlns      ||= "https://dealernetwork.davidsonsinc.com/"
end

Instance Attribute Details

#debugObject Also known as: debug?

Returns the value of attribute debug.



28
29
30
# File 'lib/davidsons.rb', line 28

def debug
  @debug
end

#ftp_hostObject

Returns the value of attribute ftp_host.



29
30
31
# File 'lib/davidsons.rb', line 29

def ftp_host
  @ftp_host
end

#proxy_urlObject

Returns the value of attribute proxy_url.



30
31
32
# File 'lib/davidsons.rb', line 30

def proxy_url
  @proxy_url
end

#xmlnsObject

Returns the value of attribute xmlns.



31
32
33
# File 'lib/davidsons.rb', line 31

def xmlns
  @xmlns
end