Sha256: f5c6d116031e83d3680e3eff64206dc2355d0701262e929940eda7c4572ebbdb

Contents?: true

Size: 900 Bytes

Versions: 11

Compression:

Stored size: 900 Bytes

Contents

# # frozen_string_literal: true
b=box

b.touch(:down) do
   A.message({ action: :authentication, data: { table: :user, particles: { email: 'tre@tre.tre', password: 'poipoi' } } }) do |response|
    alert "=> #{response}"
  end
end

#
#
# # # 1 login attempt

wait 1 do
  A.message({ action: :authentication, data: { table: :user, particles: { email: 'tre@tre.tre', password:  'poipoi' } } }) do |response|
    alert "=> #{response}"
  end
  wait 1 do
    A.message({ action: :authentication, data: { table: :user, particles: { email: 'tre@tre.tre', password:  'poipoi' } } }) do |response|
      alert "=> #{response}"
    end
  end
end
#
# 2 account creation attempt
# wait 1 do
#   A.message({ action: :account_creation, data: { email: 'tre@tre.tre', password: 'poipoi', user_id: 'Nico' }  }) do |response|
#     puts response
#   end
#
# end

# string=hello
#
# puts JS.global.sha256(string.to_s)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
atome-0.5.7.6.0 vendor/assets/application/examples/account.rb
atome-0.5.7.5.9 vendor/assets/application/examples/account.rb
atome-0.5.7.5.4 vendor/assets/application/examples/account.rb
atome-0.5.7.5.3 vendor/assets/application/examples/account.rb
atome-0.5.7.5.1 vendor/assets/application/examples/account.rb
atome-0.5.7.4.8 vendor/assets/application/examples/account.rb
atome-0.5.7.4.7 vendor/assets/application/examples/account.rb
atome-0.5.7.4.6 vendor/assets/application/examples/account.rb
atome-0.5.7.4.3 vendor/assets/application/examples/account.rb
atome-0.5.7.4.2 vendor/assets/application/examples/account.rb
atome-0.5.7.3.9 vendor/assets/application/examples/account.rb