Class: Taro::Types::ObjectTypes::NoContentType

Inherits:
ResponseType show all
Defined in:
lib/taro/types/object_types/no_content_type.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from ResponseType

#coerce_input

Methods included from Shared::Fields

#field, #fields

Methods included from Shared::ObjectCoercion

#coerce_input

Methods included from Shared::CustomFieldResolvers

included, #resolve?

Class Method Details

.renderObject

render takes no arguments in this case



6
7
8
# File 'lib/taro/types/object_types/no_content_type.rb', line 6

def self.render
  super(nil)
end

Instance Method Details

#coerce_responseObject



10
11
12
# File 'lib/taro/types/object_types/no_content_type.rb', line 10

def coerce_response
  {}
end