Class: MaitreD::API::Authenticated
- Inherits:
-
Object
- Object
- MaitreD::API::Authenticated
show all
- Includes:
- Sliver::Action
- Defined in:
- lib/maitre_d/api/authenticated.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Instance Method Details
#call ⇒ Object
8
9
10
11
|
# File 'lib/maitre_d/api/authenticated.rb', line 8
def call
response.body = [MultiJson.dump(response.body)]
response.status ||= 200
end
|
#configuration ⇒ Object
13
14
15
|
# File 'lib/maitre_d/api/authenticated.rb', line 13
def configuration
environment['maitre_d.configuration']
end
|