Module: IDataStorage

Included in:
Ribit::ContentStore
Defined in:
lib/ribit/ribitdata.rb

Overview

TODO: better name confuses to datastorage

Instance Method Summary collapse

Instance Method Details

#save_categories_hierarchy(ribitData) ⇒ Object

Raises:

  • (RuntimeError)


906
907
908
# File 'lib/ribit/ribitdata.rb', line 906

def save_categories_hierarchy( ribitData )
  raise RuntimeError, 'save_categories_hierarchy() not implemented', caller
end

#save_category(category) ⇒ Object

Raises:

  • (RuntimeError)


901
902
903
# File 'lib/ribit/ribitdata.rb', line 901

def save_category( category )
  raise RuntimeError, 'load_category() not implemented', caller
end

#save_page(page) ⇒ Object

This method saves the page and does reloading if needed

Raises:

  • (RuntimeError)


896
897
898
# File 'lib/ribit/ribitdata.rb', line 896

def save_page( page )
  raise RuntimeError, 'load_page() not implemented', caller
end