class AlfaInsurance::ConfirmResponse
Public Instance Methods
document_url()
click to toggle source
# File lib/alfa_insurance/confirm_response.rb, line 7 def document_url body.dig(:policy_document, :url) end
insurance_id()
click to toggle source
# File lib/alfa_insurance/confirm_response.rb, line 3 def insurance_id body[:full_number].to_i end