require 'plaid' require_relative 'argyle/version' require_relative 'argyle/configuration' require_relative 'argyle/engine' module Argyle class Error < StandardError; end class << self attr_writer :configuration end def self.configuration @configuration ||= Configuration.new end def self.configure yield(configuration) end def self.plaid_client Plaid.config do |p| p.client_id = configuration.client_id p.secret = configuration.secret p.env = configuration.env.to_sym end Plaid end end