Sha256: 92d9807b3bd09a18aa07b91d78a0e7e41ee6bc984a698cde39e7db85018a4b02

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

module Checked 
  class Arch
    include ::Checked::Base

    before
    def save_key
      request.response.body= request.headers.check_target
    end
    
    after_method
    def save_last_response
      unless request.path[%r@!/\Z@]
        request.response.body= request.response.last
      end
    end

  end # === class Arch
  
end # === module Checked

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Checked-1.0.0 lib/Checked/Base/Arch.rb