Sha256: 62ce75a3602fca004897e4dd5e6f3def13e8d23372bac244066d4c5dc97bc9cf
Contents?: true
Size: 563 Bytes
Versions: 1
Compression:
Stored size: 563 Bytes
Contents
module Things class App < Reference::Base extend Appscript # get the singleton Application instance def self.instance reference ||= app('Things') end # refresh the Application instance def self.instance! reference = app('Things') end # get a collection of Lists def self.lists List end # get a collection of Todos def self.todos Collections::Todo end # activate the app and bring it to front def self.activate instance!.activate end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
things-client-0.1.0 | lib/things/app.rb |