Sha256: 49092d9698a8c1f4e156f5f2a67773107703734618e7d5eeb582d8966a74b3d1

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'bundler/setup'
require 'iwoca'
require 'date'

require 'dotenv'
Dotenv.load

Iwoca.configure do |config|
  config.api_key = ENV['IWOCA_API_KEY']
  config.webhook_signature = ENV['IWOCA_WEBHOOK_SIGNATURE']
end

# Useful if we need to do some tests
require 'iwoca/customer_generator'
require 'iwoca/application_generator'

send(:include, Iwoca)

def generate_customer
  CustomerGenerator.generate
end

def generate_app
  ApplicationGenerator.generate
end

require 'pry'
Pry.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iwoca-1.1.3 bin/console
iwoca-1.1.2 bin/console
iwoca-1.1.1 bin/console
iwoca-1.1.0 bin/console