class ArSerializer::GraphQL::ArgClass
Attributes
name[R]
type[R]
Public Class Methods
new(name, type)
click to toggle source
# File lib/ar_serializer/graphql/types.rb, line 5 def initialize(name, type) @optional = name.to_s.end_with? '?' # TODO: refactor @name = name.to_s.delete '?' @type = TypeClass.from type end