Sha256: 32caad3ffbb93aa46d651fb4d13df4424905e1541d5189efeb81aa926ec7def4
Contents?: true
Size: 448 Bytes
Versions: 4
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true require_relative 'lib/action_network_rest' require 'dotenv' require 'byebug' Dotenv.load('.env') raise 'Must set API_KEY environmental variable. See .env.sample for details' if ENV['API_KEY'].nil? client = ActionNetworkRest.new(api_key: ENV.fetch('API_KEY')) # rubocop:disable Lint/UselessAssignment puts "Ready to call Action Network API using 'client' object" byebug # rubocop:disable Lint/Debugger puts 'Bye!'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
action_network_rest-0.12.0 | example.rb |
action_network_rest-1.0.1 | example.rb |
action_network_rest-1.0.0 | example.rb |
action_network_rest-0.11.0 | example.rb |