Class CloudKit::UserStore

  1. lib/cloudkit/user_store.rb
Parent: Object

A thin layer on top of CloudKit::Store providing consistent URIs and automatic upgrades if required for future releases.

Methods

public class

  1. new

public instance

  1. version

Public class methods

new (uri=nil)
[show source]
    # File lib/cloudkit/user_store.rb, line 8
 8:     def initialize(uri=nil)
 9:       unless @@store
10:         @@store = Store.new(:collections => [:cloudkit_users])
11:       end
12:     end

Public instance methods

version ()

Return the version for this UserStore

[show source]
    # File lib/cloudkit/user_store.rb, line 35
35:     def version; 1; end