Class: Twitter::Relationship
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[], #initialize, lazy_attr_reader
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Method Details
#source ⇒ Twitter::User
8 9 10 |
# File 'lib/twitter/relationship.rb', line 8 def source @source ||= Twitter::User.new(@attrs['source']) unless @attrs['source'].nil? end |
#target ⇒ Twitter::User
13 14 15 |
# File 'lib/twitter/relationship.rb', line 13 def target @target ||= Twitter::User.new(@attrs['target']) unless @attrs['target'].nil? end |