Method: LHS::Errors#initialize
- Defined in:
- lib/lhs/errors.rb
#initialize(response) ⇒ Errors
7 8 9 10 11 12 |
# File 'lib/lhs/errors.rb', line 7 def initialize(response) = (response) = (response) @raw = response.body rescue JSON::ParserError # rubocop:disable Lint/HandleExceptions end |