Sha256: 4e85955c88a022407dba84749633a9fd824e1dc8b0b1349629afe040e09711e0

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module Warden
  module Oauthed
    module Oauth
      class User < Struct.new(:attribs, :token)
        ATTRIBUTES = %w[id full_name email].freeze

        
        ATTRIBUTES.each do |name|
          define_method(name) { attribs[name] }
        end
        
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
warden-oauthed-0.0.1 lib/warden-oauthed/user.rb