Module: Mojito::Controllers::Entities

Defined in:
lib/mojito/controllers/entities.rb

Defined Under Namespace

Modules: ClassMethods Classes: TypeConfiguration

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(type) ⇒ Object



7
8
9
# File 'lib/mojito/controllers/entities.rb', line 7

def self.included(type)
	type.extend ClassMethods
end

Instance Method Details

#__dispatchObject



11
12
13
14
# File 'lib/mojito/controllers/entities.rb', line 11

def __dispatch
	
	[404, { 'Content-Type' => 'application/octet-stream' }, []]
end