Sha256: bd0a6e32543e08ca8906038be0488c2ae5d0473508a7a80dddfac96af7ff9cb9
Contents?: true
Size: 633 Bytes
Versions: 4
Compression:
Stored size: 633 Bytes
Contents
# frozen_string_literal module Iwoca class ApplicationGenerator def self.generate(params: {}) new(params:).generate end def initialize(params: {}) @params = params end def generate { data: { last_12_months_turnover: { amount: 700000, valid_from: '2019-08-24T14:15:22Z' }, requests: [ { amount: 15000, product_type: 'flexi_loan', duration: { amount: 12, unit: "months" }, purpose: 'equipment_purchase', urgency: 'asap' } ] } } end end end
Version data entries
4 entries across 4 versions & 1 rubygems