Class: Osso::GraphQL::Types::MutationType

Inherits:
BaseObject
  • Object
show all
Defined in:
lib/osso/graphql/mutation.rb

Class Method Summary collapse

Methods inherited from BaseObject

admin_authorized?, enterprise_authorized?, internal_authorized?

Class Method Details

.authorized?(_object, _context) ⇒ Boolean

Returns:

  • (Boolean)


21
22
23
24
25
# File 'lib/osso/graphql/mutation.rb', line 21

def self.authorized?(_object, _context)
  # mutations are prevented from executing with ready? so
  # its a bit odd that this hides it
  true
end