Sha256: c45e6298c27a57c56b9aca1dfdb851b3566c425da5c7c20171f5f15b9f0b7ce5

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 Bytes

Contents

module GoogleAppsOauth2
	module Atom
  	class User < Document
      attr_reader :doc, :login, :suspended, :first_name, :last_name, :quota, :password

      MAP = {
        userName: :login,
        suspended: :suspended,
        familyName: :last_name,
        givenName: :first_name,
        limit: :quota,
        password: :password
      }

  		def initialize(xml)
        super(xml, MAP)
        find_values
  		end
  	end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google_apps_oauth2-0.1 lib/google_apps_oauth2/atom/user.rb