summaryrefslogtreecommitdiff
path: root/logic/providers/google/tokens.rb
blob: 0d74928d30604280b271b49445ce2ca94296df9d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module NanoBot
  module Logic
    module Google
      module Tokens
        def self.apply_policies!(_cartridge, payload)
          payload[:contents] = payload[:contents].map { |message| message.except(:_meta) }
          payload
        end
      end
    end
  end
end