Class: Mastodon::Relationship
- Inherits:
-
Base
- Object
- Base
- Mastodon::Relationship
show all
- Defined in:
- lib/mastodon/relationship.rb
Overview
Relationships. Purpose still to be found out (by Maxine Michalski)
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 = {}) ⇒ Relationship
Returns a new instance of Relationship.
33
34
35
36
|
# File 'lib/mastodon/relationship.rb', line 33
def initialize(attributes = {})
attributes.fetch('id')
super
end
|
Instance Attribute Details
#blocking? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#domain_blocking? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#followed_by? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#following? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#id ⇒ String
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#muting? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#muting_notifications? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|
#requested? ⇒ Boolean
23
|
# File 'lib/mastodon/relationship.rb', line 23
normal_attr_reader :id
|