Class: Digicert::Debugger
- Inherits:
-
Object
- Object
- Digicert::Debugger
- Defined in:
- lib/digicert/debugger.rb
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize(request:, response:) ⇒ Debugger
constructor
A new instance of Debugger.
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
#debug ⇒ Object
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 |