Sha256: ecf4b5ef121514a3f1f427e7985d5c94a9c2de801f6412d4e53f6a4e0035f6b0
Contents?: true
Size: 1.58 KB
Versions: 2
Compression:
Stored size: 1.58 KB
Contents
# # frozen_string_literal: true # # A.message({ action: :insert, data: { table: :security, particle: :password, data: 'my_pass'} }) do |datas| # puts "0 data received: #{datas}" # end # # A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs' } }) do |data_received_from_server| # puts "1 my first insert #{data_received_from_server}" # end # # A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs2' } }) # # A.message({ action: :query, data: { table: :identity } }) do |data_received_from_server| # puts "2 another insert : #{data_received_from_server}" # end # # A.message({ action: :query, data: { table: :identity } }) do |data_received| # puts "3 received : #{data_received}" # end # # A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs3' } }) do |result| # puts "4 insert done : #{result}" # end # # A.message({ action: :insert, data: { table: :identity, particle: :name, data: 'jeezs4' } }) do |result| # puts "5 last message received: #{result}" # end # # A.message({ action: :insert, data: { table: :security, particle: :name, data: 'john doe' } }) do |data_received_from_server| # puts "6 test 1 : #{data_received_from_server}" # end # # A.message({ action: :insert, data: { table: :identity, particle: :tit, data: 'dummy' } }) do |data_received_from_server| # puts "7 test 2 : #{data_received_from_server}" # end # # A.message({ action: :insert, data: { table: :unknown, particle: :name, data: 'dummy2' } }) do |data_received_from_server| # puts "test 3 : #{data_received_from_server}" # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.6.2.5 | vendor/assets/application/examples/database_handling.rb |
atome-0.5.6.2.4 | vendor/assets/application/examples/database_handling.rb |