Sha256: e26d44c7a3eb83a7234b97203171ae6990ffcb00126f274c6309c54a2ad3e59b
Contents?: true
Size: 399 Bytes
Versions: 58
Compression:
Stored size: 399 Bytes
Contents
module Types class <%= type_ruby_name.split('::')[-1] %> < Types::BaseScalar def self.coerce_input(input_value, context) # Override this to prepare a client-provided GraphQL value for your Ruby code input_value end def self.coerce_result(ruby_value, context) # Override this to serialize a Ruby value for the GraphQL response ruby_value.to_s end end end
Version data entries
58 entries across 58 versions & 1 rubygems