module HTTPX::ErrorResponsePatternMatchExtensions

  1. lib/httpx/pmatch_extensions.rb

Methods

Public Instance

  1. deconstruct
  2. deconstruct_keys

Public Instance methods

deconstruct()
[show source]
   # File lib/httpx/pmatch_extensions.rb
15 def deconstruct
16   [@error]
17 end
deconstruct_keys(_keys)
[show source]
   # File lib/httpx/pmatch_extensions.rb
19 def deconstruct_keys(_keys)
20   { error: @error }
21 end