Class: GraphQL::SharedArguments
- Inherits:
-
Object
- Object
- GraphQL::SharedArguments
- Includes:
- Define::InstanceDefinable
- Defined in:
- lib/graphql/shared_arguments.rb,
lib/graphql/shared_arguments/version.rb,
lib/graphql/shared_arguments/injector.rb,
lib/graphql/shared_arguments/define/assign_shared_arguments.rb
Defined Under Namespace
Modules: Define Classes: Injector
Constant Summary collapse
- VERSION =
'0.2.0'.freeze
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#filter ⇒ Object
Returns the value of attribute filter.
Instance Method Summary collapse
-
#initialize ⇒ SharedArguments
constructor
A new instance of SharedArguments.
- #use(_schema_definition) ⇒ Object
Constructor Details
#initialize ⇒ SharedArguments
Returns a new instance of SharedArguments.
21 22 23 24 |
# File 'lib/graphql/shared_arguments.rb', line 21 def initialize @filter = nil @arguments = {} end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
17 18 19 |
# File 'lib/graphql/shared_arguments.rb', line 17 def arguments @arguments end |
#filter ⇒ Object
Returns the value of attribute filter.
17 18 19 |
# File 'lib/graphql/shared_arguments.rb', line 17 def filter @filter end |
Instance Method Details
#use(_schema_definition) ⇒ Object
19 |
# File 'lib/graphql/shared_arguments.rb', line 19 def use(_schema_definition); end |