Sha256: 9757b7f7dda36010dc5dba7c14f4f5f32190286af5cb298cfce2493b5290c25d
Contents?: true
Size: 476 Bytes
Versions: 5
Compression:
Stored size: 476 Bytes
Contents
# encoding: utf-8 require "fb_graph" module SocialProfile module People class Facebook < Person # Find album by id def fetch_album(album_id) ::FbGraph::Album.fetch(album_id, :access_token => access_token) end # Create new album id def album!(options = {}) user.album!(options) end protected def user @user ||= ::FbGraph::User.me(access_token) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems