module AWS::SimpleDB::ConsistentReadOption

def consistent_read options

Returns:
  • (Boolean) - Returns true if a read should be made consistently
def consistent_read options
  if options.has_key?(:consistent_read)
    options[:consistent_read] ? true : false
  elsif SimpleDB.send(:in_consistent_reads_block?)
    SimpleDB.send(:consistent_reads_state)
  else
    config.simple_db_consistent_reads?
  end
end