@return [Twitter::SourceUser]
# File lib/twitter/relationship.rb, line 17 def source @source ||= Twitter::SourceUser.fetch_or_new(@attrs[:source]) end
@return [Twitter::TargetUser]
# File lib/twitter/relationship.rb, line 22 def target @target ||= Twitter::TargetUser.fetch_or_new(@attrs[:target]) end
Update the attributes of a Relationship
@param attrs [Hash] @return [Twitter::Relationship]
# File lib/twitter/relationship.rb, line 30 def update(attrs) @attrs.update(attrs[:relationship]) unless attrs[:relationship].nil? self end
Generated with the Darkfish Rdoc Generator 2.