Class: RsrGroup::Configuration
- Inherits:
-
Object
- Object
- RsrGroup::Configuration
- Defined in:
- lib/rsr_group.rb
Instance Attribute Summary collapse
-
#debug_mode ⇒ Object
Returns the value of attribute debug_mode.
-
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
-
#response_dir ⇒ Object
Returns the value of attribute response_dir.
-
#submission_dir ⇒ Object
Returns the value of attribute submission_dir.
-
#vendor_email ⇒ Object
Returns the value of attribute vendor_email.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
46 47 48 49 50 51 52 |
# File 'lib/rsr_group.rb', line 46 def initialize @debug_mode ||= false @ftp_host ||= "ftp.rsrgroup.com" @submission_dir ||= File.join("eo", "incoming") @response_dir ||= File.join("eo", "outgoing") @vendor_email ||= nil end |
Instance Attribute Details
#debug_mode ⇒ Object
Returns the value of attribute debug_mode.
40 41 42 |
# File 'lib/rsr_group.rb', line 40 def debug_mode @debug_mode end |
#ftp_host ⇒ Object
Returns the value of attribute ftp_host.
41 42 43 |
# File 'lib/rsr_group.rb', line 41 def ftp_host @ftp_host end |
#response_dir ⇒ Object
Returns the value of attribute response_dir.
43 44 45 |
# File 'lib/rsr_group.rb', line 43 def response_dir @response_dir end |
#submission_dir ⇒ Object
Returns the value of attribute submission_dir.
42 43 44 |
# File 'lib/rsr_group.rb', line 42 def submission_dir @submission_dir end |
#vendor_email ⇒ Object
Returns the value of attribute vendor_email.
44 45 46 |
# File 'lib/rsr_group.rb', line 44 def vendor_email @vendor_email end |