Sha256: 1e12817b4dc123387c86affc7b7591d2f8d678d0a323910072d707e46a084546
Contents?: true
Size: 530 Bytes
Versions: 3
Compression:
Stored size: 530 Bytes
Contents
module Gplus class Client # Get a person's Google+ profile. # See http://developers.google.com/+/api/latest/people/get for more details. # # @param [String] id The unique ID of the person whose profile you want to retrieve. Pass the string 'me' to fetch the profile for the person that the API client is authorized as. # @return [Hash] A nested hash representation of a {http://developers.google.com/+/api/latest/people/get Person resource} def get_person(id) get("people/#{id}") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gplus-0.5.0 | lib/gplus/person.rb |
gplus-0.4.0 | lib/gplus/person.rb |
gplus-0.3.1 | lib/gplus/person.rb |