Sha256: 07aeb6de4d425bb843d20757e879936888858fd52da0dedb0cfcdbd1acf84e54
Contents?: true
Size: 485 Bytes
Versions: 5
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module Rails module GraphQL # = GraphQL Alternative Subscription # # Same as it's parent class, but for subscription class Alternative::Subscription < Alternative::Query redefine_singleton_method(:type_field_class) { :subscription } self.abstract = true class << self delegate :scope, :trigger_for, :trigger, :unsubscribe_from, :unsubscribe, to: :@field, allow_nil: true end end end end
Version data entries
5 entries across 5 versions & 1 rubygems