Module: Crags
- Defined in:
- lib/crags.rb,
lib/crags/item.rb,
lib/crags/country.rb,
lib/crags/fetcher.rb,
lib/crags/category.rb,
lib/crags/location.rb,
lib/crags/search/search.rb,
lib/crags/search/country.rb,
lib/crags/search/location.rb
Defined Under Namespace
Modules: Fetcher, Search Classes: Category, Country, Item, Location
Constant Summary collapse
- Config =
OpenStruct.new({ :defaults => { :keyword => 'bicycle', :category => Category.new('for sale', 'sss'), :country => Country.new('us'), :location => Location.new('sfbay.craigslist.org'), :interval => 1 }, :category_url => "http://sfbay.craigslist.org/", :country_url => "http://geo.craigslist.org/iso", :country_codes => ['jp', 'ar', 'bd', 'br', 'ca', 'cl', 'co', 'cr', 'cz', 'de', 'eg', 'gb', 'hu', 'id', 'ie', 'il', 'lb', 'my', 'nl', 'nz', 'no', 'pk', 'pa', 'ru', 'th', 'ae', 'us', 've', 'vn'] })