Sha256: 8e82c304bbc69327f5fa28bbc040ed4ab39198058b565deeab44be688c180b6c

Contents?: true

Size: 302 Bytes

Versions: 10

Compression:

Stored size: 302 Bytes

Contents

# 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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
nano-bots-3.4.0 logic/providers/google/tokens.rb
nano-bots-3.3.0 logic/providers/google/tokens.rb
nano-bots-3.2.0 logic/providers/google/tokens.rb
nano-bots-3.0.1 logic/providers/google/tokens.rb
nano-bots-3.0.0 logic/providers/google/tokens.rb
nano-bots-2.5.1 logic/providers/google/tokens.rb
nano-bots-2.5.0 logic/providers/google/tokens.rb
nano-bots-2.4.1 logic/providers/google/tokens.rb
nano-bots-2.4.0 logic/providers/google/tokens.rb
nano-bots-2.3.0 logic/providers/google/tokens.rb