Class: Zanders::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



43
44
45
46
# File 'lib/zanders.rb', line 43

def initialize
  @ftp_host ||= "ftp.gzanders.com"
  @ftp_directory ||= "Inventory/AmmoReady"
end

Instance Attribute Details

#ftp_directoryObject

Returns the value of attribute ftp_directory.



41
42
43
# File 'lib/zanders.rb', line 41

def ftp_directory
  @ftp_directory
end

#ftp_hostObject

Returns the value of attribute ftp_host.



40
41
42
# File 'lib/zanders.rb', line 40

def ftp_host
  @ftp_host
end