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

Version Path
right_api_client-1.6.1 login_to_client_irb.rb
right_api_client-1.6.0 login_to_client_irb.rb
right_api_client-1.5.28 login_to_client_irb.rb
right_api_client-1.5.27 login_to_client_irb.rb
right_api_client-1.5.26 login_to_client_irb.rb
right_api_client-1.5.25 login_to_client_irb.rb
right_api_client-1.5.24 login_to_client_irb.rb
right_api_client-1.5.23 login_to_client_irb.rb
right_api_client-1.5.22 login_to_client_irb.rb
right_api_client-1.5.21 login_to_client_irb.rb
right_api_client-1.5.19 login_to_client_irb.rb
right_api_client-1.5.18 login_to_client_irb.rb
right_api_client-1.5.17 login_to_client_irb.rb
right_api_client-1.5.16 login_to_client_irb.rb
right_api_client-1.5.15 login_to_client_irb.rb
right_api_client-1.5.14 login_to_client_irb.rb
right_api_client-1.5.13 login_to_client_irb.rb
right_api_client-1.5.12 login_to_client_irb.rb