class BookmarksDB

Defined in:

xbs.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(config : Config) #

[View source]

Instance Method Detail

def create_bookmarks : String #

Create empty bookmarks record, return JSON response.


[View source]
def finalize #

[View source]
def get_bookmarks(id : String) : String #

Get bookmarks for given ID, return JSON response.


[View source]
def get_lastupdated(id : String, as_json = true) : String #

Get last updated timestamp for given ID, return JSON response.


[View source]
def get_syncversion(id : String) : String #

Get sync version given ID, return JSON response.


[View source]
def update_bookmarks(id : String, content_type : String, body : String) #

Update bookmarks for ID, return JSON response.


[View source]