Sha256: 168604e82782da850288ec4c0b8ab44a83c66724e8cb72c282891f2adbcf8f94

Contents?: true

Size: 298 Bytes

Versions: 47

Compression:

Stored size: 298 Bytes

Contents

module Bobot
  module User
    include Bobot::GraphFacebook

    def get_profile(query:)
      graph_get "/#{query.fetch(:fb_id)}", query: {
        fields: query.fetch(:fields).join(','),
        access_token: query.fetch(:access_token),
      }
    end
    module_function :get_profile
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
bobot-2.6.1 lib/bobot/user.rb
bobot-2.6.0 lib/bobot/user.rb
bobot-2.5.0 lib/bobot/user.rb
bobot-2.3.0 lib/bobot/user.rb
bobot-2.1.0 lib/bobot/user.rb
bobot-1.0.53 lib/bobot/user.rb
bobot-1.0.52 lib/bobot/user.rb