Module: Sunrise::FileUpload

Defined in:
lib/sunrise/file_upload.rb,
lib/sunrise/file_upload/http.rb,
lib/sunrise/file_upload/engine.rb,
lib/sunrise/file_upload/manager.rb,
lib/sunrise/file_upload/request.rb,
lib/sunrise/file_upload/version.rb,
lib/sunrise/file_upload/callbacks.rb,
lib/sunrise/file_upload/view_helper.rb,
lib/sunrise/file_upload/form_builder.rb,
lib/sunrise/file_upload/active_record.rb

Defined Under Namespace

Modules: ActiveRecord, Callbacks, FormBuilder, Http, ViewHelper Classes: Engine, Manager, Request

Constant Summary collapse

VERSION =
"0.2.0".freeze

Class Method Summary collapse

Class Method Details

.guidObject



14
15
16
# File 'lib/sunrise/file_upload.rb', line 14

def self.guid
  SecureRandom.base64(15).tr('+/=', 'xyz').slice(0, 10)
end