Class: Twitter::Relationship
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ Twitter::Relationship
constructor
Initializes a new object.
Methods inherited from Base
#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, display_uri_attr_reader, object_attr_reader, predicate_attr_reader, uri_attr_reader
Methods included from Utils
Constructor Details
#initialize(attrs = {}) ⇒ Twitter::Relationship
Initializes a new object
12 13 14 15 |
# File 'lib/twitter/relationship.rb', line 12 def initialize(attrs = {}) super @attrs = attrs[:relationship] end |