Class: SportDb::Market::Deleter

Inherits:
Object
  • Object
show all
Includes:
SportDb::Models
Defined in:
lib/sportdb/market.rb

Instance Method Summary collapse

Instance Method Details

#run(args = []) ⇒ Object



57
58
59
60
61
62
63
64
# File 'lib/sportdb/market.rb', line 57

def run( args=[] )
  # for now delete all tables

  Service.delete_all
  Quote.delete_all
  GroupQuote.delete_all
  EventQuote.delete_all
end