#!/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' send(:include, Iwoca) require 'pry' Pry.start