Sha256: 2906747bd85cc26ade8cd1fd7324c9984c35c66d8940d94b4ba3e805945f4cf0

Contents?: true

Size: 289 Bytes

Versions: 1

Compression:

Stored size: 289 Bytes

Contents

module RestClient
  module Jogger
    module Filters
      class Json < RestClient::Jogger::Filters::Base

      private

        def filter_data(filter)
          data.gsub! /"(#{filter})": ?"(.*[^\"])"/, "\"#{filter}\": \"#{filter_replacement}\""
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest-client-jogger-0.3.2 lib/rest_client/jogger/filters/json.rb