Sha256: 2bf72c2eba92bc682881fa3e01d2fcb47ec621b5bddab2ec226ad0a717f236bc

Contents?: true

Size: 630 Bytes

Versions: 4

Compression:

Stored size: 630 Bytes

Contents

require 'active_support/secure_random'

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
      ActiveSupport::SecureRandom.base64(15).tr('+/=', 'xyz').slice(0, 10)
    end
  end
end

require 'sunrise/file_upload/engine'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sunrise-file-upload-0.1.4 lib/sunrise/file_upload.rb
sunrise-file-upload-0.1.3 lib/sunrise/file_upload.rb
sunrise-file-upload-0.1.2 lib/sunrise/file_upload.rb
sunrise-file-upload-0.1.1 lib/sunrise/file_upload.rb