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-4.0.0 lib/bobot/profile.rb
bobot-3.7.9 lib/bobot/profile.rb
bobot-3.7.8 lib/bobot/profile.rb
bobot-3.7.6 lib/bobot/profile.rb
bobot-3.7.3 lib/bobot/profile.rb
bobot-3.7.2 lib/bobot/profile.rb
bobot-3.6.3 lib/bobot/profile.rb
bobot-3.6.0 lib/bobot/profile.rb
bobot-3.5.2 lib/bobot/profile.rb
bobot-3.5.1 lib/bobot/profile.rb
bobot-3.5.0 lib/bobot/profile.rb
bobot-3.0.7 lib/bobot/profile.rb
bobot-3.0.6 lib/bobot/profile.rb
bobot-3.0.5 lib/bobot/profile.rb
bobot-3.0.3 lib/bobot/profile.rb
bobot-3.0.2 lib/bobot/profile.rb
bobot-3.0.1 lib/bobot/profile.rb
bobot-2.6.2 lib/bobot/profile.rb
bobot-2.6.1 lib/bobot/profile.rb
bobot-2.6.0 lib/bobot/profile.rb