Sha256: c255f611111db1a424c30723e5038bd455a38797cee44cd7773eda03df7ecbcd

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

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

lib = File.expand_path('../lib', __dir__)

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'bundler/setup'
require 'companies_house_hub'
require 'dotenv'

Dotenv.load

CompaniesHouseHub.configure do |config|
  config.api_key = ENV['API_KEY']
  config.debug = true
end

# Allow direct access to CompaniesHouseHub classes
send(:include, CompaniesHouseHub)

require 'pry'
Pry.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
companies_house_hub-0.1.12 bin/console
companies_house_hub-0.1.11 bin/console
companies_house_hub-0.1.10 bin/console
companies_house_hub-0.1.9 bin/console