Sha256: e3fa95c8d22ab1e8aea4f3a8aa66dcd624bcb1a908e4ce4c49f40325b597b72f

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

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

require 'bundler/setup'
require 'zilla'

# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require 'irb'

Zilla.configure do |config|
  config.host = '127.0.0.1:8001'
  config.server_index = nil
  config.api_key['BearerToken'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['BearerToken'] = 'Bearer'
  # Configure faraday connection
  config.configure_faraday_connection { |_connection| 'YOUR CONNECTION CONFIG PROC' }
end

IRB.start(__FILE__)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zilla-0.2.0 bin/console