Sha256: 17c43395841e9033e27ad6eb19a77eb55063cc2ebc095860a502c91afeb46969
Contents?: true
Size: 492 Bytes
Versions: 18
Compression:
Stored size: 492 Bytes
Contents
# A quick way to login to the API and jump into IRB so you can experiment with the client. # Add this to your bash profile to make it simpler: # alias client='bundle exec ruby login_to_client_irb.rb' require File.expand_path('../lib/right_api_client', __FILE__) require 'yaml' require 'irb' begin @client = RightApi::Client.new(YAML.load_file(File.expand_path('../config/login.yml', __FILE__))) puts "logged-in to the API, use the '@client' variable to use the client" end IRB.start
Version data entries
18 entries across 18 versions & 1 rubygems