<commit_before>require 'base64'
require 'openssl'

module GoogleBusinessApiUrlSigner
  class Signer
    BASE_64_DECODE_ENCODE_REPLACEMENTS = ['-_', '+/']

    cattr_accessor :default_private_key
    attr_reader :url, :private_key
<commit_msg>Note on where to find Google's signature documentation.<commit_after>require 'base64'
require 'openssl'

module GoogleBusinessApiUrlSigner
  # Public: Takes care of signing URLs
  #
  # Google's documentation for this can be found here:
  # https://developers.google.com/maps/documentation/business/webservices#generating_valid_signatures
  #
  class Signer
    BASE_64_DECODE_ENCODE_REPLACEMENTS = ['-_', '+/']

    cattr_accessor :default_private_key
    attr_reader :url, :private_key

{'fraction_non_alphanumeric': 0.08767123287671233, 'fraction_numerical': 0.010958904109589041, 'mean_word_length': 5.247863247863248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2263682', 'n_tokens_mistral': 251, 'n_tokens_neox': 232, 'n_words': 50}