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
Also known as:
eql?
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
|
#hash ⇒ Object
24
25
26
|
# File 'lib/mumukit/auth/grant.rb', line 24
def hash
to_s.hash
end
|
#inspect ⇒ Object
28
29
30
|
# File 'lib/mumukit/auth/grant.rb', line 28
def inspect
"<Mumukit::Auth::Grant #{to_s}>"
end
|
#to_mumukit_grant ⇒ Object
14
15
16
|
# File 'lib/mumukit/auth/grant.rb', line 14
def to_mumukit_grant
self
end
|