Method: Alma::Response#initialize

Defined in:
lib/alma/response.rb

#initialize(response) ⇒ Response

Returns a new instance of Response.



15
16
17
18
19
# File 'lib/alma/response.rb', line 15

def initialize(response)
  @raw_response = response
  @response = response.parsed_response
  validate(response)
end