Class: Mumukit::Auth::AllGrant

Inherits:
Grant
  • Object
show all
Defined in:
lib/mumukit/auth/grant.rb

Instance Method Summary collapse

Methods inherited from Grant

#==, #as_json, parse, #to_mumukit_grant

Instance Method Details

#allows?(_resource_slug) ⇒ Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/mumukit/auth/grant.rb', line 35

def allows?(_resource_slug)
  true
end

#to_sObject



39
40
41
# File 'lib/mumukit/auth/grant.rb', line 39

def to_s
  '*'
end