Class: Taro::Types::InputType
- Inherits:
-
ObjectType
- Object
- BaseType
- ObjectType
- Taro::Types::InputType
- Defined in:
- lib/taro/types/input_type.rb
Overview
Abstract base class for input types, i.e. types without response rendering.
Instance Method Summary collapse
Methods included from Shared::Fields
Methods included from Shared::ObjectCoercion
Methods included from Shared::CustomFieldResolvers
Instance Method Details
#coerce_response ⇒ Object
5 6 7 |
# File 'lib/taro/types/input_type.rb', line 5 def coerce_response response_error "#{self.class.name} is an InputType and cannot be used as response type" end |