Class: Mumukit::Auth::Grant
- Inherits:
-
Object
- Object
- Mumukit::Auth::Grant
show all
- Defined in:
- lib/mumukit/auth/grant.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Instance Method Details
#==(other) ⇒ Object
18
19
20
|
# File 'lib/mumukit/auth/grant.rb', line 18
def ==(other)
other.class == self.class && to_s == other.to_s
end
|
#as_json(options = {}) ⇒ Object
10
11
12
|
# File 'lib/mumukit/auth/grant.rb', line 10
def as_json(options={})
to_s
end
|
#to_mumukit_grant ⇒ Object
14
15
16
|
# File 'lib/mumukit/auth/grant.rb', line 14
def to_mumukit_grant
self
end
|