test/example-apps.rb in spqr-0.3.0 vs test/example-apps.rb in spqr-0.3.1
- old
+ new
@@ -1,16 +1,18 @@
class QmfUserAndContext
include ::SPQR::Manageable
- def QmfUserAndContext.find_by_id(oid)
- @singleton ||= QmfUserAndContext.new
- @singleton
- end
+ qmf_singleton
+
+ # def QmfUserAndContext.find_by_id(oid)
+ # @singleton ||= QmfUserAndContext.new
+ # @singleton
+ # end
- def QmfUserAndContext.find_all
- @singleton ||= QmfUserAndContext.new
- [@singleton]
- end
+ # def QmfUserAndContext.find_all
+ # @singleton ||= QmfUserAndContext.new
+ # [@singleton]
+ # end
expose :qmf_user_id do |args|
args.declare :uid, :sstr, :out
end