Sha256: ddc33d16774c15368c710558e40675612508c42aded767137ed615cb916ce328

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 Bytes

Contents

# A quick way to login to the API and jump into IRB so you can experiment with the connection.
# Add this to your bash profile to make it simpler:
#   alias connection='bundle exec ruby login_to_connection_irb.rb'

require File.expand_path('../lib/rest_connection', __FILE__)
require 'yaml'
require 'irb'

begin
  @connection = RestConnection::Connection.new()
  puts "logged-in to the API, use the '@connection' variable to use the connection"
end

IRB.start

#
#require 'rubygems'
#require 'rest_connection'
#require 'ruby-debug'
#
#debugger
#puts "done!"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rest_connection-1.0.2 login_to_connection_irb.rb