Class: OrionWholesale::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



41
42
43
44
45
46
47
# File 'lib/orion_wholesale.rb', line 41

def initialize
  @debug_mode              ||= false
  @ftp_host                ||= "74.143.53.110"
  @ftp_port                ||= "10022"
  @top_level_dir           ||= "/ammoready"
  @catalog_filename_prefix ||= 'orion_inv_arweb'
end

Instance Attribute Details

#catalog_filename_prefixObject

Returns the value of attribute catalog_filename_prefix.



39
40
41
# File 'lib/orion_wholesale.rb', line 39

def catalog_filename_prefix
  @catalog_filename_prefix
end

#debug_modeObject

Returns the value of attribute debug_mode.



35
36
37
# File 'lib/orion_wholesale.rb', line 35

def debug_mode
  @debug_mode
end

#ftp_hostObject

Returns the value of attribute ftp_host.



36
37
38
# File 'lib/orion_wholesale.rb', line 36

def ftp_host
  @ftp_host
end

#ftp_portObject

Returns the value of attribute ftp_port.



37
38
39
# File 'lib/orion_wholesale.rb', line 37

def ftp_port
  @ftp_port
end

#top_level_dirObject

Returns the value of attribute top_level_dir.



38
39
40
# File 'lib/orion_wholesale.rb', line 38

def top_level_dir
  @top_level_dir
end