Changeset 88 in bookmarks for trunk/scan


Ignore:
Timestamp:
06/04/15 22:00:25 (10 years ago)
Author:
peter
Message:

Better separation of the model for searching and the web app controller/representation layer

  • renamed Bookmarks::get_bookmarks() to search()
  • Bookmarks::search() now returns a Bookmarks::Search object instead of a Bookmarks::List
  • search results now reside in the Bookmarks::Search class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scan

    r72 r88  
    2525my $csv = Text::CSV->new; 
    2626 
    27 for my $bookmark (@{ $bookmarks->get_bookmarks->results }) { 
     27for my $bookmark (@{ $bookmarks->search->results }) { 
    2828    printf "%3d %s\n", $bookmark->id, $bookmark->uri unless $CSV; 
    2929    my $response = $ua->head($bookmark->uri); 
Note: See TracChangeset for help on using the changeset viewer.