examples/data_store.rb in ncmb-ruby-client-0.0.9 vs examples/data_store.rb in ncmb-ruby-client-0.1.0
- old
+ new
@@ -7,10 +7,10 @@
NCMB.initialize application_key: yaml['application_key'], client_key: yaml['client_key']
example = NCMB::DataStore.new 'Example'
example.delete_all
-10.times do |i|
+9.times do |i|
item = example.new
item.set('String', "ใในใ#{i}00")
item.set('Integer', i)
item.set('Boolean', true)
item.set('Array', [i, i * 2, i * 3, "Orange", "Tomato"])