Sha256: a0c57e46dfdcaee69123caa3104bed8c1a9b4877ca8930144ec3f38d2cb63849

Contents?: true

Size: 426 Bytes

Versions: 14

Compression:

Stored size: 426 Bytes

Contents

module Warden
  module Github
    module Oauth
      class User < Struct.new(:attribs, :token)
        def login
          attribs['login']
        end

        def name
          attribs['name']
        end

        def gravatar_id
          attribs['gravatar_id']
        end

        def email
          attribs['email']
        end

        def company
          attribs['company']
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
warden-github-0.4.3 lib/warden-github/user.rb
warden-github-0.4.2 lib/warden-github/user.rb
warden-github-0.4.1 lib/warden-github/user.rb
warden-github-0.4.0 lib/warden-github/user.rb
warden-github-0.3.1 lib/warden-github/user.rb
warden-github-0.3.0 lib/warden-github/user.rb
warden-github-0.2.1 lib/warden-github/user.rb
warden-github-0.2.0 lib/warden-github/user.rb
warden-github-0.1.2 lib/warden-github/user.rb
warden-github-0.1.1 lib/warden-github/user.rb
warden-github-0.1.0 lib/warden-github/user.rb
warden-github-0.0.9 lib/warden-github/user.rb
warden-github-0.0.8 lib/warden-github/user.rb
warden-github-0.0.7 lib/warden-github/user.rb