File: relationship.rb

package info (click to toggle)
ruby-twitter 7.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 4,840 kB
  • sloc: ruby: 10,919; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 351 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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