class HipTail::Room::Detail

Public Instance Methods

archived?()
Alias for: is_archived
created() click to toggle source

@attribute [r] created @return [Time]

# File lib/hiptail/atom.rb, line 176
def created
  @created ||= Time.parse(@raw['created'])
  @created
end
guest_access_url() click to toggle source

@attribute [r] guest_access_url @return [String]

# File lib/hiptail/atom.rb, line 224
def guest_access_url
  @raw['guest_access_url']
end
guest_accessible?()
Alias for: is_guest_accessible
is_archived() click to toggle source

@attribute [r] is_archived @return [Boolean]

# File lib/hiptail/atom.rb, line 210
def is_archived
  @raw['is_archived']
end
Also aliased as: archived?
is_guest_accessible() click to toggle source

@attribute [r] is_guest_accessible @return [Boolean]

# File lib/hiptail/atom.rb, line 217
def is_guest_accessible
  @raw['is_guest_accessible']
end
Also aliased as: guest_accessible?
is_private() click to toggle source

@attribute [r] is_private @return [Boolean]

# File lib/hiptail/atom.rb, line 203
def is_private
  privacy == 'private'
end
Also aliased as: private?
is_public() click to toggle source

@attribute [r] is_public @return [Boolean]

# File lib/hiptail/atom.rb, line 196
def is_public
  privacy == 'public'
end
Also aliased as: public?
last_active() click to toggle source

@attribute [r] last_active @return [Time]

# File lib/hiptail/atom.rb, line 183
def last_active
  @last_active ||= Time.parse(@raw['last_active'])
  @last_active
end
owner() click to toggle source

@attribute [r] owner @return [User]

# File lib/hiptail/atom.rb, line 230
def owner
  @owner ||= User.new(@raw['owner'])
end
participants() click to toggle source

@attribute [r] participants @return [Array] Array of HipTail::User.

# File lib/hiptail/atom.rb, line 236
def participants
  @participants ||= @raw['participants'].map { |user| User.new(user) }
  @participants
end
privacy() click to toggle source

@attribute [r] privacy @return [String]

# File lib/hiptail/atom.rb, line 190
def privacy
  @raw['privacy']
end
private?()
Alias for: is_private
public?()
Alias for: is_public
topic() click to toggle source

@attribute [r] topic @return [String]

# File lib/hiptail/atom.rb, line 243
def topic
  @raw['topic']
end
xmpp_jid() click to toggle source

@attribute [r] xmpp_jid @return [String]

# File lib/hiptail/atom.rb, line 249
def xmpp_jid
  @raw['xmpp_jid']
end