Class: Types::Notes::UpdateDiffImagePositionInputType
- Inherits:
-
BaseInputObject
- Object
- GraphQL::Schema::InputObject
- BaseInputObject
- Types::Notes::UpdateDiffImagePositionInputType
- Defined in:
- app/graphql/types/notes/update_diff_image_position_input_type.rb
Overview
InputType used for updateImageDiffNote mutation.
Instance Method Summary collapse
Instance Method Details
#prepare ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'app/graphql/types/notes/update_diff_image_position_input_type.rb', line 25 def prepare to_h.compact.tap do |properties| if properties.empty? raise GraphQL::ExecutionError, "At least one property of `#{self.class.graphql_name}` must be set" end end super end |