module AutoGraphQL::ObjectType

Protected Instance Methods

graphql(options = {}) click to toggle source
# File lib/autographql/object_type.rb, line 9
def graphql options = {}
  # register Active Record model.  delay schema generation
  # until class and associations have been fully defined

  AutoGraphQL.register self, options
end