Module: RSimperium
- Defined in:
- lib/r_simperium.rb,
lib/r_simperium/api.rb,
lib/r_simperium/auth.rb,
lib/r_simperium/bucket.rb,
lib/r_simperium/api_helpers.rb
Defined Under Namespace
Modules: ApiHelpers
Classes: Api, Auth, Bucket
Constant Summary
collapse
- META_MAP =
{
:x_simperium_version => :version
}
Class Method Summary
collapse
Class Method Details
.gen_uuid(name) ⇒ Object
12
13
14
|
# File 'lib/r_simperium.rb', line 12
def gen_uuid(name)
UUIDTools::UUID.sha1_create(UUIDTools::UUID_OID_NAMESPACE, name)
end
|
.log(str) ⇒ Object
16
17
18
19
|
# File 'lib/r_simperium.rb', line 16
def log(str)
return unless ENV['R_SIMPERIUM_DEBUG'] == '1'
puts str
end
|