Class: SMARTAppLaunch::MockSMARTServer::IntrospectionEndpoint
- Inherits:
-
Inferno::DSL::SuiteEndpoint
- Object
- Inferno::DSL::SuiteEndpoint
- SMARTAppLaunch::MockSMARTServer::IntrospectionEndpoint
show all
- Includes:
- SMARTIntrospectionResponseCreation
- Defined in:
- lib/smart_app_launch/endpoints/mock_smart_server/introspection_endpoint.rb
Instance Method Summary
collapse
#make_smart_introspection_response
Instance Method Details
#make_response ⇒ Object
15
16
17
18
19
20
21
22
|
# File 'lib/smart_app_launch/endpoints/mock_smart_server/introspection_endpoint.rb', line 15
def make_response
response.body = make_smart_introspection_response.to_json
response.['Cache-Control'] = 'no-store'
response.['Pragma'] = 'no-cache'
response.['Access-Control-Allow-Origin'] = '*'
response.content_type = 'application/json'
response.status = 200
end
|
28
29
30
|
# File 'lib/smart_app_launch/endpoints/mock_smart_server/introspection_endpoint.rb', line 28
def tags
[INTROSPECTION_TAG, SMART_TAG]
end
|
#test_run_identifier ⇒ Object
#update_result ⇒ Object
24
25
26
|
# File 'lib/smart_app_launch/endpoints/mock_smart_server/introspection_endpoint.rb', line 24
def update_result
nil end
|