Class: GraphQL::Stitching::Planner::ScopePartition
- Inherits:
-
Object
- Object
- GraphQL::Stitching::Planner::ScopePartition
- Defined in:
- lib/graphql/stitching/planner.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#selections ⇒ Object
readonly
Returns the value of attribute selections.
Instance Method Summary collapse
-
#initialize(location:, selections:) ⇒ ScopePartition
constructor
A new instance of ScopePartition.
Constructor Details
#initialize(location:, selections:) ⇒ ScopePartition
Returns a new instance of ScopePartition.
16 17 18 19 |
# File 'lib/graphql/stitching/planner.rb', line 16 def initialize(location:, selections:) @location = location @selections = selections end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
14 15 16 |
# File 'lib/graphql/stitching/planner.rb', line 14 def location @location end |
#selections ⇒ Object (readonly)
Returns the value of attribute selections.
14 15 16 |
# File 'lib/graphql/stitching/planner.rb', line 14 def selections @selections end |