Class: Digicert::Debugger

Inherits:
Object
  • Object
show all
Defined in:
lib/digicert/debugger.rb

Instance Method Summary collapse

Constructor Details

#initialize(request:, response:) ⇒ Debugger

Returns a new instance of Debugger.



3
4
5
6
# File 'lib/digicert/debugger.rb', line 3

def initialize(request:, response:)
  @request = request
  @response = response
end

Instance Method Details

#debugObject



8
9
10
11
12
13
# File 'lib/digicert/debugger.rb', line 8

def debug
  puts "[API Reqeust Begin]".center(50, "=")
  puts api_request_details
  puts api_response_details
  puts "[API Reqeust End]".center(50, "=")
end