Sha256: 575bbcdaa7215fe94e3dc97ad7013e2c7d672d6c5fa166c42ae00a181a81bff0
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 KB
Contents
module FbGraph2 class User < Node include Edge::Accounts include Edge::Achievements include Edge::Activities include Edge::Albums include Edge::Books include Edge::Events include Edge::Family include Edge::Feed include Edge::FriendLists include Edge::Friends include Edge::Games include Edge::Groups include Edge::Home include Edge::Interests include Edge::InvitableFriends include Edge::Likes::LikerContext include Edge::Links include Edge::Movies include Edge::Music include Edge::Notifications include Edge::Permissions include Edge::Picture include Edge::Photos include Edge::Pokes include Edge::Posts include Edge::Scores include Edge::Statuses include Edge::Tagged include Edge::Television include Edge::Videos register_attributes( raw: [ :about, :bio, :email, :first_name, :gender, :installed, :is_verified, :link, :locale, :middle_name, :name, :name_format, :political, :quotes, :relationship_status, :religion, :timezone, :third_party_id, :verified, :website, # NOTE: in family edge context :relationship, # NOTE: in page admin context :perms, :role ], time: [:updated_time], # NOTE: undocumented attribute date: [:birthday], page: [:hometown, :location], pages: [:favorite_athletes, :favorite_teams, :inspirational_people, :languages], user: [:significant_other], photo: [:cover], custom: [:age_range, :context, :currency, :education, :work] ) def initialize(id, attributes = {}) super # TODO: handle custom attributes. end def self.me(access_token) new(:me).authenticate access_token end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fb_graph2-0.0.6 | lib/fb_graph2/user.rb |
fb_graph2-0.0.5 | lib/fb_graph2/user.rb |