README.md in rakuten_web_service-1.0.0.rc1 vs README.md in rakuten_web_service-1.0.0

- old
+ new

@@ -81,11 +81,11 @@ Please note that you need to replace `'YOUR_APPLICATION_ID'` and `'YOUR_AFFILIATE_ID'` with actual ones you have. ### Search Ichiba Items ```ruby - items = RakutenWebService::Ichiba::Item.search(:keyword => 'Ruby') # This returns Enumerable object + items = RakutenWebService::Ichiba::Item.search(keyword: 'Ruby') # This returns Enumerable object items.first(10).each do |item| puts "#{item['itemName']}, #{item.price} yen" # You can refer to values as well as Hash. end ``` @@ -107,10 +107,11 @@ # Shows the title of the last 30 items last_items.each do |item| puts item.name end - items.all do |item| + # Easier way to fetch all resources page 3 and latter + items.page(3).all do |item| puts item.name end ``` ### Genre