Sha256: cbb284d82131dc5de3adbf9b1d307eac57f58d1b4072b9877f24aa9d63d3ff5f
Contents?: true
Size: 542 Bytes
Versions: 3
Compression:
Stored size: 542 Bytes
Contents
require 'boned' #Bone.debug = true Bone.source = "http://localhost:3073" Bone.credentials = '20_keys_try:crystal' ## Bone.credentials [Bone.token, Bone.secret] #=> ['20_keys_try', 'crystal'] ## Bone.register Bone.register Bone.token, Bone.secret #=> '20_keys_try' ## Bone.set Bone['akey1'] = 'value1' Bone['akey1'] #=> 'value1' ## Bone.set Bone['akey2'] = 'value2' Bone['akey2'] #=> 'value2' ## Bone.get Bone['akey1'] #=> 'value1' ## Bone.keys Bone.keys.sort #=> ['akey1', 'akey2'] ## Bone.destroy Bone.destroy Bone.token #=> true
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
boned-0.3.2 | try/20_keys_try.rb |
boned-0.3.1 | try/20_keys_try.rb |
boned-0.3.0 | try/20_keys_try.rb |