Sha256: e58284f49ebc71f91ec800c1788bdca66896afc380635c7bb419d69f2ae15ff2

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

require 'base64'

module CiderCi
  module OpenSession
    module Encoder
      extend self
      def encode(msg)
        ::Base64.urlsafe_encode64(msg)
      end

      def decode(msg)
        ::Base64.urlsafe_decode64(msg)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cider_ci-open_session-2.0.1 lib/cider_ci/open_session/encoder.rb