Sha256: 9acb397873a5a9fac0a7732a2b0723b5423f85bdd1614209daf162c087113f07

Contents?: true

Size: 1.28 KB

Versions: 32

Compression:

Stored size: 1.28 KB

Contents

module  OmniAuth
module  Twitter
module  MockAuthentication
  def self.user
    {
      '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

32 entries across 32 versions & 1 rubygems

Version Path
rspectacular-0.31.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.30.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.29.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.28.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.27.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.26.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.25.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.24.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.23.1 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.23.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.22.2 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.22.1 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.22.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.6 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.5 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.4 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.3 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.2 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.1 lib/rspectacular/mock_authentications/omniauth/twitter.rb
rspectacular-0.21.0 lib/rspectacular/mock_authentications/omniauth/twitter.rb