Class: Mastodon::Relationship
- Inherits:
-
Base
- Object
- Base
- Mastodon::Relationship
show all
- Defined in:
- lib/mastodon/relationship.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 = {}) ⇒ Relationship
Returns a new instance of Relationship.
36
37
38
39
|
# File 'lib/mastodon/relationship.rb', line 36
def initialize(attributes = {})
attributes.fetch('id')
super
end
|
Instance Attribute Details
#blocking? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#domain_blocking? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#endorsed? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#followed_by? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#following? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#id ⇒ String
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#muting? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#muting_notifications? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#requested? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|
#showing_reblogs? ⇒ Boolean
24
|
# File 'lib/mastodon/relationship.rb', line 24
normal_attr_reader :id
|