Sha256: d67f01120301a0dc3065dceb5b018a0239c868247c769a90e572c883bd0f2f21

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 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']
end

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

require 'pry'
Pry.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
companies_house_hub-0.1.8 bin/console
companies_house_hub-0.1.7 bin/console
companies_house_hub-0.1.6 bin/console