class Lifen::Status
Public Instance Methods
reload()
click to toggle source
# File lib/lifen/status.rb, line 10 def reload json = client.get("central/api/chats/status") self.unread = json["unread"] self end
Also aliased as: refresh
Private Instance Methods
client()
click to toggle source
# File lib/lifen/status.rb, line 22 def client @client ||= user.client end