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?
20
21
22
|
# File 'lib/mumukit/auth/grant.rb', line 20
def ==(other)
other.class == self.class && to_s == other.to_s
end
|
#as_json(options = {}) ⇒ Object
12
13
14
|
# File 'lib/mumukit/auth/grant.rb', line 12
def as_json(options={})
to_s
end
|
#hash ⇒ Object
26
27
28
|
# File 'lib/mumukit/auth/grant.rb', line 26
def hash
to_s.hash
end
|
#inspect ⇒ Object
30
31
32
|
# File 'lib/mumukit/auth/grant.rb', line 30
def inspect
"<Mumukit::Auth::Grant #{to_s}>"
end
|
#to_mumukit_grant ⇒ Object
16
17
18
|
# File 'lib/mumukit/auth/grant.rb', line 16
def to_mumukit_grant
self
end
|