twitter-status-bot/.gems/gems/twitter-5.11.0/lib/twitter/relationship.rb

17 lines
351 B
Ruby
Raw Normal View History

require 'twitter/base'
module Twitter
class Relationship < Twitter::Base
object_attr_reader :SourceUser, :source
object_attr_reader :TargetUser, :target
# Initializes a new object
#
# @param attrs [Hash]
# @return [Twitter::Relationship]
def initialize(attrs = {})
@attrs = attrs[:relationship]
end
end
end