Class: Taro::Types::ResponseType

Inherits:
ObjectType
  • Object
show all
Defined in:
lib/taro/types/response_type.rb

Overview

Abstract base class for response types, i.e. types without input parsing.

Instance Method Summary collapse

Methods included from Shared::Fields

#field, #fields

Methods included from Shared::ObjectCoercion

#coerce_response

Methods included from Shared::CustomFieldResolvers

included, #resolve?

Instance Method Details

#coerce_inputObject



5
6
7
# File 'lib/taro/types/response_type.rb', line 5

def coerce_input
  input_error "#{self.class.name} is a ResponseType and cannot be used as input type"
end