lib/rsr_group.rb in rsr_group-1.0.0.pre vs lib/rsr_group.rb in rsr_group-1.0.0
- old
+ new
@@ -3,16 +3,19 @@
require 'csv'
require 'date'
require 'net/ftp'
require 'rsr_group/base'
+require 'rsr_group/constants'
+require 'rsr_group/data_row'
require 'rsr_group/department'
require 'rsr_group/inventory'
require 'rsr_group/order'
require 'rsr_group/order_detail'
require 'rsr_group/order_ffl'
require 'rsr_group/order_recipient'
+require 'rsr_group/response_file'
require 'rsr_group/user'
module RsrGroup
class NotAuthenticated < StandardError; end
class UnknownDepartment < StandardError; end
@@ -30,14 +33,16 @@
end
class Configuration
attr_accessor :ftp_host
attr_accessor :submission_dir
+ attr_accessor :response_dir
attr_accessor :vendor_email
def initialize
@ftp_host ||= "ftp.rsrgroup.com"
@submission_dir ||= File.join("eo", "incoming")
+ @response_dir ||= File.join("eo", "outgoing")
@vendor_email ||= nil
end
end
end