lib/fb_graph/ad_user.rb
# FbGraph::User#fetch does not retrieve the permissions and roles since they are outside the normal
# attributes for an FbGraph::User, so we just copy them over from this object before returning
# the fetched one.
:User#fetch does not retrieve the permissions and roles since they are outside the normal
attributes for an FbGraph::User, so we just copy them over from this object before returning
the fetched one.
: User#fetch does not retrieve the permissions and roles since they are outside the normal attributes for an FbGraph :: User so we just copy them over from this object before returning the fetched one .
def fetch(options = {})
      super(options).tap do |fetched|
        fetched.role = role
        fetched.permissions = permissions
      end
    end
def fetch ( options = { } ) super ( options ) . tap do | fetched | fetched . role = role fetched . permissions = permissions end end
FbGraph::User#fetch does not retrieve the permissions and roles since they are outside the normal
attributes for an FbGraph::User, so we just copy them over from this object before returning
the fetched one.
FbGraph :: User#fetch does not retrieve the permissions and roles since they are outside the normal attributes for an FbGraph :: User so we just copy them over from this object before returning the fetched one .
options
<not_specific>