Sha256: 1f2bca2d428381400817d277cddad827493dcafea2cbf6a5cffe0e3cef7d423c

Contents?: true

Size: 388 Bytes

Versions: 82

Compression:

Stored size: 388 Bytes

Contents

module FbGraph
  class FriendRequest
    include Comparison
    attr_accessor :from, :to, :created_time, :message, :unread

    def initialize(attributes = {})
      @from = User.new attributes[:from]
      @to = User.new attributes[:to]
      @created_time = Time.parse attributes[:created_time]
      @message = attributes[:message]
      @unread = attributes[:unread]
    end
  end
end

Version data entries

82 entries across 82 versions & 1 rubygems

Version Path
fb_graph-2.1.2 lib/fb_graph/friend_request.rb
fb_graph-2.1.1 lib/fb_graph/friend_request.rb