Class: OrionWholesale::Configuration
- Inherits:
-
Object
- Object
- OrionWholesale::Configuration
- Defined in:
- lib/orion_wholesale.rb
Instance Attribute Summary collapse
-
#catalog_filename_prefix ⇒ Object
Returns the value of attribute catalog_filename_prefix.
-
#debug_mode ⇒ Object
Returns the value of attribute debug_mode.
-
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
-
#ftp_port ⇒ Object
Returns the value of attribute ftp_port.
-
#top_level_dir ⇒ Object
Returns the value of attribute top_level_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_prefix ⇒ Object
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_mode ⇒ Object
Returns the value of attribute debug_mode.
35 36 37 |
# File 'lib/orion_wholesale.rb', line 35 def debug_mode @debug_mode end |
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
36 37 38 |
# File 'lib/orion_wholesale.rb', line 36 def ftp_host @ftp_host end |
#ftp_port ⇒ Object
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_dir ⇒ Object
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 |