Module: Navigable::Server::Endpoint
- Defined in:
- lib/navigable/server/endpoint.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- EXECUTE_NOT_IMPLEMENTED_MESSAGE =
'Endpoint classes must either call `executes` or implement an `execute` method.'
- UNAUTHENTICATED =
{ status: 401, text: 'Unauthorized' }.freeze
- UNAUTHORIZED =
{ status: 403, text: 'Forbidden' }.freeze
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
10 11 12 13 |
# File 'lib/navigable/server/endpoint.rb', line 10 def self.extended(base) base.extend(ClassMethods) base.include(InstanceMethods) end |