Module: S3CorsFileupload::Config

Defined in:
lib/s3_cors_fileupload/rails/config.rb

Class Method Summary collapse

Class Method Details

.method_missing(meth, *args, &block) ⇒ Object

if a method is called on the class, attempt to look it up in the config array



9
10
11
12
13
14
15
# File 'lib/s3_cors_fileupload/rails/config.rb', line 9

def method_missing(meth, *args, &block)
  if args.empty? && block.nil?
    config[meth.to_s]
  else
    super
  end
end