Sha256: 54664954c9ee93faf0ed1d771b4cb00fc83791aaa976fcf6873155c47422bb7f

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

require 'securerandom'

module Sunrise
  module FileUpload
    autoload :Http, 'sunrise/file_upload/http'
    autoload :Manager, 'sunrise/file_upload/manager'
    autoload :Request, 'sunrise/file_upload/request'
    autoload :ActiveRecord, 'sunrise/file_upload/active_record'
    autoload :Callbacks, 'sunrise/file_upload/callbacks'
    
    autoload :ViewHelper, 'sunrise/file_upload/view_helper'
    autoload :FormBuilder, 'sunrise/file_upload/form_builder'
    
    def self.guid
      SecureRandom.base64(15).tr('+/=', 'xyz').slice(0, 10)
    end
  end
end

require 'sunrise/file_upload/engine'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sunrise-file-upload-0.2.0 lib/sunrise/file_upload.rb