Sha256: 2a5d924ede9acad1f9d49c31beb12f359eb5113f11663e07a6bc36f4df53464f

Contents?: true

Size: 871 Bytes

Versions: 1

Compression:

Stored size: 871 Bytes

Contents

# frozen_string_literal: true

A.message({ action: :insert, data: { table: :security, particle: :email, data: 'jeezs@jeezs.net' } })
A.message({ action: :insert, data: { table: :security, particle: :name, data: 'jeezs' } }) do |data_received_from_server|
  puts "my first insert #{data_received_from_server}"
end
A.message({ action: :query, data: { table: :identity } }) do |data_received_from_server|
  puts "another insert  : #{data_received_from_server}"
end
A.message({ action: :query, data: { table: :identity } }) do |data_received|
  puts "received : #{data_received}"
end

A.message({ action: :insert, data: { table: :security, particle: :name, data: 'jeezs' } }) do |result|
  puts "insert done : #{result}"
end

A.message({ action: :insert, data: { table: :security, particle: :name, data: 'jeezs' } }) do |result|
  puts "last message received: #{result}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atome-0.5.6.1.9 vendor/assets/application/examples/database_handling.rb