Sha256: 531dab83f198e14d06daa827e16ff6f319df4bcccb0cc39d99053a0247d8f214

Contents?: true

Size: 483 Bytes

Versions: 27

Compression:

Stored size: 483 Bytes

Contents

# Put the lib directory on the load path 
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'ruby-fs-stack/identity'

communicator = FsCommunicator.new :domain => 'http://www.dev.usys.org', 
                                  :key => 'KEY',
                                  :user_agent => 'Ruby-Fs-Stack/v.1 (JimmyZimmerman) FsCommunicator/0.1 (Ruby)'

if communicator.identity_v1.authenticate :username => '', :password => ''
  puts communicator.session
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ruby-fs-stack-0.5.3 examples/login_example.rb
ruby-fs-stack-0.5.2 examples/login_example.rb
ruby-fs-stack-0.5.1 examples/login_example.rb
ruby-fs-stack-0.5.0 examples/login_example.rb
ruby-fs-stack-0.4.12 examples/login_example.rb
ruby-fs-stack-0.4.11 examples/login_example.rb
ruby-fs-stack-0.4.10 examples/login_example.rb
ruby-fs-stack-0.4.9 examples/login_example.rb
ruby-fs-stack-0.4.8 examples/login_example.rb
ruby-fs-stack-0.4.7 examples/login_example.rb
ruby-fs-stack-0.4.6 examples/login_example.rb
ruby-fs-stack-0.4.5 examples/login_example.rb
ruby-fs-stack-0.4.4 examples/login_example.rb
ruby-fs-stack-0.4.3 examples/login_example.rb
ruby-fs-stack-0.4.2 examples/login_example.rb
ruby-fs-stack-0.4.0 examples/login_example.rb
ruby-fs-stack-0.3.3 examples/login_example.rb
ruby-fs-stack-0.3.2 examples/login_example.rb
ruby-fs-stack-0.3.0 examples/login_example.rb
ruby-fs-stack-0.2.6 examples/login_example.rb