README.md in contextio-1.6.0 vs README.md in contextio-1.7.0

- old
+ new

@@ -182,11 +182,12 @@ ```ruby require 'active_support/all' account.messages.where(date_before: 3.hours.ago.to_i, date_after: 5.hours.ago.to_i).each do |message| - puts "(#{message.date}) #{message.subject}" + puts message.subject #=> "The subject of my email" + puts message.received_at #=> 2013-07-31 20:33:56 -0500 end ``` You can mix date and non-date parameters. @@ -297,15 +298,15 @@ message = account.messages[message_id] message.files.class #=> ContextIO::FileCollection message.files.count #=> 2 message.files.map { |f| f.file_name } #=> ["at_icon.png", "argyle_slides.png"] -message.files.first.resource_url #=> https://contextio_to_s3_redirect_url.io +message.files.first.content_link #=> https://contextio_to_s3_redirect_url ``` -The file['resource_url'] url is a S3 backed temporary link. It is intended -to be used promptly after being called. Do not store off this link. Instead, -store off the message_id and request on demand. +The file['content_link'] url is a S3 backed temporary link. It is intended to be +used promptly after being called. Do not store off this link. Instead, store off +the message_id and request on demand. ### On Laziness This gem is architected to be as lazy as possible. It won't make an HTTP request