Class: Mastodon::List

Inherits:
Base
  • Object
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

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

#idString (readonly)

Returns:

  • (String)


8
# File 'lib/mastodon/list.rb', line 8

normal_attr_reader :id, :title

#titleString (readonly)

Returns:

  • (String)


8
# File 'lib/mastodon/list.rb', line 8

normal_attr_reader :id, :title