Class: Mastodon::List
- Inherits:
-
Base
- Object
- Base
- Mastodon::List
show all
- Defined in:
- lib/mastodon/list.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 = {}) ⇒ List
12
13
14
15
|
# File 'lib/mastodon/list.rb', line 12
def initialize(attributes = {})
attributes.fetch('id')
super
end
|
Instance Attribute Details
#id ⇒ String
10
|
# File 'lib/mastodon/list.rb', line 10
normal_attr_reader :id, :title
|
#title ⇒ String
10
|
# File 'lib/mastodon/list.rb', line 10
normal_attr_reader :id, :title
|