Sha256: b214d02508ddc23408a5844e2a7eb12f11d7d8e4c3196c20ac16822db9d94b4d
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 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='bin/console' 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
right_api_client-1.6.4 | login_to_client_irb.rb |
right_api_client-1.6.3 | login_to_client_irb.rb |
right_api_client-1.6.2 | login_to_client_irb.rb |