Class: Mumukit::Auth::AllGrant
- Inherits:
-
Grant
- Object
- Grant
- Mumukit::Auth::AllGrant
show all
- Defined in:
- lib/mumukit/auth/grant.rb
Instance Method Summary
collapse
Methods inherited from Grant
#==, #as_json, #hash, #inspect, parse, #to_mumukit_grant
Instance Method Details
#allows?(_resource_slug) ⇒ Boolean
49
50
51
|
# File 'lib/mumukit/auth/grant.rb', line 49
def allows?(_resource_slug)
true
end
|
#to_mumukit_slug ⇒ Object
57
58
59
|
# File 'lib/mumukit/auth/grant.rb', line 57
def to_mumukit_slug
Mumukit::Auth::Slug.new '*', '*'
end
|
#to_s ⇒ Object
53
54
55
|
# File 'lib/mumukit/auth/grant.rb', line 53
def to_s
'*'
end
|