Sha256: f80e42ab1a5b725dce2fb0c6eff079ba3e60ccd8bcf6009c6266c7e2da135d39

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 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 email
          attribs['email']
        end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warden-github-0.0.6 lib/warden-github/user.rb