Sha256: db027cb4d84e30eaa2c579285a169f4d005d5f1184a3ad84b120ee52a4b777c6

Contents?: true

Size: 131 Bytes

Versions: 2

Compression:

Stored size: 131 Bytes

Contents

module AlfaInsurance
  class CreateResponse < CalculateResponse
    def insurance_id
      body[:policy_id].to_i
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alfa_insurance-0.2.1 lib/alfa_insurance/create_response.rb
alfa_insurance-0.2.0 lib/alfa_insurance/create_response.rb