Sha256: df50a87b55612c4cf403a22fd71078770ad4b9beec27f26afa20e39868ec6ff9

Contents?: true

Size: 351 Bytes

Versions: 24

Compression:

Stored size: 351 Bytes

Contents

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

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
twitter-5.4.0 lib/twitter/relationship.rb
twitter-5.3.1 lib/twitter/relationship.rb
twitter-5.3.0 lib/twitter/relationship.rb
twitter-5.2.0 lib/twitter/relationship.rb