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.



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

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

Instance Attribute Details

#debug_modeObject Also known as: debug_mode?

Returns the value of attribute debug_mode.



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

def debug_mode
  @debug_mode
end

#ftp_hostObject

Returns the value of attribute ftp_host.



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

def ftp_host
  @ftp_host
end

#proxy_urlObject

Returns the value of attribute proxy_url.



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

def proxy_url
  @proxy_url
end

#xmlnsObject

Returns the value of attribute xmlns.



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

def xmlns
  @xmlns
end