Module CloudKit

  1. lib/cloudkit/constants.rb
  2. lib/cloudkit/exceptions.rb
  3. lib/cloudkit/flash_session.rb
  4. lib/cloudkit/oauth_filter.rb
  5. lib/cloudkit/oauth_store.rb
  6. lib/cloudkit/openid_filter.rb
  7. lib/cloudkit/openid_store.rb
  8. lib/cloudkit/service.rb
  9. lib/cloudkit/request.rb
  10. lib/cloudkit/store/memory_table.rb
  11. lib/cloudkit/store/resource.rb
  12. lib/cloudkit/store/response.rb
  13. lib/cloudkit/uri.rb
  14. lib/cloudkit/store.rb
  15. lib/cloudkit/user_store.rb
  16. lib/cloudkit/util.rb
  17. lib/cloudkit.rb
  18. show all

Methods

public class

  1. setup_storage_adapter
  2. storage_adapter

Constants

VERSION = '0.11.2'

Public class methods

setup_storage_adapter (adapter_instance=nil)

Sets up the storage adapter. Defaults to development-time CloudKit::MemoryTable. Also supports Rufus Tokyo Table instances. See the examples directory for Cabinet and Tyrant Table examples.

[show source]
    # File lib/cloudkit.rb, line 42
42:   def self.setup_storage_adapter(adapter_instance=nil)
43:     @storage_adapter = adapter_instance || CloudKit::MemoryTable.new
44:   end
storage_adapter ()

Return the shared storage adapter.

[show source]
    # File lib/cloudkit.rb, line 47
47:   def self.storage_adapter
48:     @storage_adapter
49:   end