Sha256: 4bc0486ab69034f54d843bf8712d42d3af26b71a60f912a83c8ec0328e34f7bb

Contents?: true

Size: 1.35 KB

Versions: 14

Compression:

Stored size: 1.35 KB

Contents

# frozen_string_literal: true
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

14 entries across 14 versions & 1 rubygems

Version Path
rspeckled-0.0.30 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.29 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.28 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.27 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.26 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.25 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.24 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.23 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.22 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.21 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.20 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.19 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.18 lib/rspeckled/mock_authentications/omniauth/twitter.rb
rspeckled-0.0.17 lib/rspeckled/mock_authentications/omniauth/twitter.rb