lib/peddler/mws.rb in peddler-2.1.1 vs lib/peddler/mws.rb in peddler-2.3.0
- old
+ new
@@ -1,13 +1,13 @@
# frozen_string_literal: true
module Peddler
# Parses MWS metadata provided in the headers of a response
class MWS
- # @api private
+ # @!visibility private
attr_reader :headers
- # @api private
+ # @!visibility private
def initialize(headers)
@headers = headers.select { |key| key.start_with?('x-mws') }
end
# The max hourly request quota for the requested operation