Sha256: 3a3c9236cb1537cfd2cf366a5afe3c18502d74031574367f93a5bc5d88a64026

Contents?: true

Size: 1.32 KB

Versions: 16

Compression:

Stored size: 1.32 KB

Contents

module  OmniAuth
module  MockAuthentications
module  Twitter
  def self.authentication
    OmniAuth::AuthHash.new(
      'provider'    => 'twitter',
      'uid'         => '100002971692646',
      'credentials' => {
        'token' => 'my_twitter_token',
      },
      'info'        => {
        'name'        => 'Sharon Letuchysky',
        'email'       => nil,
        'nickname'    => nil,
        'first_name'  => 'Sharon',
        'last_name'   => 'Letuchysky',
        'location'    => nil,
        'description' => nil,
        'image'       => 'http://graph.facebook.com/100002971692646/picture?type=square',
        'phone'       => nil,
        'urls'        => {
          'Facebook' => 'http://www.facebook.com/profile.php?id=100002971692646',
          'Website'  => nil,
        },
      },
      'extra'       => {
        'user_hash' => {
          'id'           => '100002971692646',
          'name'         => 'Sharon Ambiggjcaccg Letuchysky',
          'first_name'   => 'Sharon',
          'middle_name'  => 'Ambiggjcaccg',
          'last_name'    => 'Letuchysky',
          'link'         => 'http://www.facebook.com/profile.php?id=100002971692646',
          'gender'       => 'female',
          'locale'       => 'en_US',
          'updated_time' => '2011-09-11T17:00:51+0000',
        },
      }
    )
  end
end
end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
rspeckled-0.0.16 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.15 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.14 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.13 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.12 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.11 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.10 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.9 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.8 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.7 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.6 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.5 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.4 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.3 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.2 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.1 lib/rspeckled/mock_authentications/omniauth/twitter.rb