Sha256: f0bc85ab93b345c1f756d98c1a734199371807ba717471a5970b5b76329d7505

Contents?: true

Size: 305 Bytes

Versions: 6

Compression:

Stored size: 305 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'bungie_client'

# Get bungie cookies
jar = BungieClient::Auth.auth 'example@mail.com', 'example', 'psn'
p (jar.nil?) ? 0 : jar.cookies.length

# Check cookies and authentication
p BungieClient::Auth.auth_possible? (jar || [])

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bungie_client-1.0.3 examples/auth_usage.rb
bungie_client-1.0.2 examples/auth_usage.rb
bungie_client-1.0.0 examples/auth_usage.rb
bungie_client-0.6.0 examples/auth_usage.rb
bungie_client-0.5.1 examples/auth_usage.rb
bungie_client-0.5.0 examples/auth_usage.rb