Class: Mastodon::Conversation

Inherits:
Base
  • Object
show all
Defined in:
lib/mastodon/conversation.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attributes

Instance Method Summary collapse

Methods inherited from Base

collection_attr_reader, define_attribute_method, define_predicate_method, normal_attr_reader, object_attr_reader, predicate_attr_reader

Constructor Details

#initialize(attributes = {}) ⇒ Conversation

Returns a new instance of Conversation.



20
21
22
23
# File 'lib/mastodon/conversation.rb', line 20

def initialize(attributes = {})
  attributes.fetch('id')
  super
end

Instance Attribute Details

#accountsMastodon::Collection<Mastodon::Account> (readonly)



15
# File 'lib/mastodon/conversation.rb', line 15

normal_attr_reader :id

#idString (readonly)

Returns:

  • (String)


15
# File 'lib/mastodon/conversation.rb', line 15

normal_attr_reader :id

#last_statusMastodon::Status (readonly)

Returns:



15
# File 'lib/mastodon/conversation.rb', line 15

normal_attr_reader :id

#unread?Boolean (readonly)

Returns:

  • (Boolean)


15
# File 'lib/mastodon/conversation.rb', line 15

normal_attr_reader :id