require 's3_direct_rails/uploader_helper.rb' require 's3_direct_rails/railtie' if defined?(Rails) module S3DirectRails mattr_accessor :s3_uploader_bucket @@s3_uploader_bucket = nil mattr_accessor :s3_uploader_folder @@s3_uploader_folder = 'uploader' mattr_accessor :s3_access_key_id @@s3_access_key_id = nil mattr_accessor :s3_secret_access_key @@s3_secret_access_key = nil def self.setup yield self end end