Class: Mastodon::List
Instance Attribute Summary collapse
- #id ⇒ String readonly
- #title ⇒ String readonly
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ List
constructor
A new instance of List.
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
Returns a new instance of List.
10 11 12 13 |
# File 'lib/mastodon/list.rb', line 10 def initialize(attributes = {}) attributes.fetch('id') super end |
Instance Attribute Details
#id ⇒ String (readonly)
8 |
# File 'lib/mastodon/list.rb', line 8 normal_attr_reader :id, :title |
#title ⇒ String (readonly)
8 |
# File 'lib/mastodon/list.rb', line 8 normal_attr_reader :id, :title |