class RSimperium::Api
Public Class Methods
new(app_id, auth_token, options={})
click to toggle source
@todo Document
# File lib/r_simperium/api.rb, line 5 def initialize(app_id, auth_token, options={}) @app_id = app_id @token = auth_token @options = options end
Public Instance Methods
[](name)
click to toggle source
@todo Document
# File lib/r_simperium/api.rb, line 12 def [](name) get_item(name) end
get_item(name)
click to toggle source
@todo Document
# File lib/r_simperium/api.rb, line 17 def get_item(name) Bucket.new(@app_id, @token, name.to_s, @options) end