Class: Mastodon::Conversation
- Inherits:
-
Base
- Object
- Base
- Mastodon::Conversation
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
15
|
# File 'lib/mastodon/conversation.rb', line 15
normal_attr_reader :id
|
#id ⇒ String
15
|
# File 'lib/mastodon/conversation.rb', line 15
normal_attr_reader :id
|
15
|
# File 'lib/mastodon/conversation.rb', line 15
normal_attr_reader :id
|
#unread? ⇒ Boolean
15
|
# File 'lib/mastodon/conversation.rb', line 15
normal_attr_reader :id
|