Class: Graphql::Dashboard::Subscriptions::BaseController
Constant Summary
collapse
"GraphQL-Pro Subscriptions aren't installed on this schema yet.".html_safe
- INSTALLABLE_COMPONENT_MESSAGE_HTML =
<<-HTML.html_safe
Deliver live updates over
<a href="https://graphql-ruby.org/subscriptions/pusher_implementation.html">Pusher</a> or
<a href="https://graphql-ruby.org/subscriptions/ably_implementation.html"> Ably</a>
with GraphQL-Pro's subscription integrations.
HTML
Instance Method Summary
collapse
#check_installed, included
#schema_class
Instance Method Details
#feature_installed? ⇒ Boolean
11
12
13
|
# File 'lib/graphql/dashboard/subscriptions.rb', line 11
def feature_installed?
defined?(GraphQL::Pro::Subscriptions) && schema_class.subscriptions.is_a?(GraphQL::Pro::Subscriptions)
end
|