Class: GraphQL::SchemaComparator::EnumUsage
- Inherits:
-
Object
- Object
- GraphQL::SchemaComparator::EnumUsage
- Defined in:
- lib/graphql/schema_comparator/enum_usage.rb
Instance Method Summary collapse
-
#initialize(input:, output:) ⇒ EnumUsage
constructor
A new instance of EnumUsage.
- #input? ⇒ Boolean
- #output? ⇒ Boolean
Constructor Details
#initialize(input:, output:) ⇒ EnumUsage
Returns a new instance of EnumUsage.
4 5 6 7 |
# File 'lib/graphql/schema_comparator/enum_usage.rb', line 4 def initialize(input:, output:) @input = input @output = output end |
Instance Method Details
#input? ⇒ Boolean
9 10 11 |
# File 'lib/graphql/schema_comparator/enum_usage.rb', line 9 def input? @input end |
#output? ⇒ Boolean
13 14 15 |
# File 'lib/graphql/schema_comparator/enum_usage.rb', line 13 def output? @output end |