Module: Sinatra::Backstage::StoredFile

Includes:
Helper
Defined in:
lib/sinatra/backstage/stored_file/stored_file_model.rb,
lib/sinatra/backstage/stored_file/stored_file_helper.rb,
lib/sinatra/backstage/stored_file/stored_file_routes.rb

Defined Under Namespace

Modules: Helper, Routing Classes: StoredFile

Class Method Summary collapse

Methods included from Helper

#get_attachment_attrs

Class Method Details

.included(app) ⇒ Object



61
62
63
# File 'lib/sinatra/backstage/stored_file/stored_file_routes.rb', line 61

def self.included(app)
  app.include Routing
end

.registered(app) ⇒ Object



65
66
67
# File 'lib/sinatra/backstage/stored_file/stored_file_routes.rb', line 65

def self.registered(app)
  app.register Routing
end