Sha256: 37c23ba787f3889228b9ae6e4a39738738c7762e79c472d660bcd019719d06d3
Contents?: true
Size: 319 Bytes
Versions: 2
Compression:
Stored size: 319 Bytes
Contents
# frozen_string_literal: true module Osso module GraphQL module Resolvers class OAuthClients < ::GraphQL::Schema::Resolver type [Types::OAuthClient], null: true def resolve return Osso::Models::OAuthClient.all if context[:scope] == :admin end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
osso-0.0.3.5 | lib/osso/graphql/resolvers/oauth_clients.rb |
osso-0.0.3.4 | lib/osso/graphql/resolvers/oauth_clients.rb |