Sha256: abb40461e6bf9b193e14155285b18ff08b7a9119d18ee726d23f227a51b0e08d

Contents?: true

Size: 443 Bytes

Versions: 23

Compression:

Stored size: 443 Bytes

Contents

module Bobot
  module Profile
    include Bobot::GraphFacebook

    def set(body:, query:)
      graph_post '/me/messenger_profile', body: body, query: {
        access_token: query.fetch(:access_token),
      }
    end
    module_function :set

    def unset(body:, query:)
      graph_delete '/me/messenger_profile', body: body, query: {
        access_token: query.fetch(:access_token),
      }
    end
    module_function :unset
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bobot-2.5.0 lib/bobot/profile.rb
bobot-2.3.0 lib/bobot/profile.rb
bobot-2.1.0 lib/bobot/profile.rb