Class: Types::DeploymentsOrderByInputType
- Inherits:
-
BaseInputObject
- Object
- GraphQL::Schema::InputObject
- BaseInputObject
- Types::DeploymentsOrderByInputType
- Defined in:
- app/graphql/types/deployments_order_by_input_type.rb
Instance Method Summary collapse
Instance Method Details
#prepare ⇒ Object
18 19 20 21 22 |
# File 'app/graphql/types/deployments_order_by_input_type.rb', line 18 def prepare raise GraphQL::ExecutionError, 'orderBy parameter must contain one key-value pair.' unless to_h.size == 1 super end |