Skip to content

Instantly share code, notes, and snippets.

@shio-phys
Created March 1, 2016 06:59
Show Gist options
  • Save shio-phys/64d0fe8f806d28fdf71e to your computer and use it in GitHub Desktop.
Save shio-phys/64d0fe8f806d28fdf71e to your computer and use it in GitHub Desktop.
records = dynamodb.get_item({ table_name: 'crawled_items', key: {"original_url" => 'http://example.com/item', "taskgroup_id" => '0001'} })
records.item.each do |key, value|
puts "#{key}: #{value}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment