Sha256: 2573b42789bad7e8eb24fc2260be0be836eedc910957f5a485b42e9fd476659d
Contents?: true
Size: 404 Bytes
Versions: 2
Compression:
Stored size: 404 Bytes
Contents
class DummySchema < GraphQL::Schema use GraphqlDevise::SchemaPlugin.new( query: Types::QueryType, mutation: Types::MutationType, resource_loaders: [ GraphqlDevise::ResourceLoader.new('User', only: [:login, :confirm_account]), GraphqlDevise::ResourceLoader.new('Guest', only: [:logout]) ] ) mutation(Types::MutationType) query(Types::QueryType) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
graphql_devise-0.12.1 | spec/dummy/app/graphql/dummy_schema.rb |
graphql_devise-0.12.0 | spec/dummy/app/graphql/dummy_schema.rb |