class Snapcat::Friend::Type
Constants
- BLOCKED
- CONFIRMED
- DELETED
- UNCONFIRMED
Attributes
code[R]
Public Class Methods
new(code)
click to toggle source
# File lib/snapcat/friend.rb, line 36 def initialize(code) @code = code end
Public Instance Methods
blocked?()
click to toggle source
# File lib/snapcat/friend.rb, line 40 def blocked? @code == BLOCKED end
confirmed?()
click to toggle source
# File lib/snapcat/friend.rb, line 44 def confirmed? @code == CONFIRMED end
deleted?()
click to toggle source
# File lib/snapcat/friend.rb, line 48 def deleted? @code == DELETED end
unconfirmed?()
click to toggle source
# File lib/snapcat/friend.rb, line 52 def unconfirmed? @code == UNCONFIRMED end