Sha256: 9011840315d6b7a7413b6b84a8441781b371d56c6af29d0c74faa14c7427d862

Contents?: true

Size: 302 Bytes

Versions: 7

Compression:

Stored size: 302 Bytes

Contents

require 'fb_graph2/user'

module FbGraph2
  class TestUser < User
    register_attributes(
      raw: [:login_url, :password]
    )

    def friend!(test_user)
      self.post({}, edge: :friends, edge_scope: test_user.id)
      test_user.post({}, edge: :friends, edge_scope: self.id)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fb_graph2-1.3.0 lib/fb_graph2/test_user.rb
fb_graph2-1.2.0 lib/fb_graph2/test_user.rb
fb_graph2-1.1.1 lib/fb_graph2/test_user.rb
fb_graph2-1.1.0 lib/fb_graph2/test_user.rb
fb_graph2-1.0.1 lib/fb_graph2/test_user.rb
fb_graph2-1.0.0 lib/fb_graph2/test_user.rb
fb_graph2-0.9.1 lib/fb_graph2/test_user.rb