lib/sdbport/aws/simpledb.rb in sdbport-0.1.1 vs lib/sdbport/aws/simpledb.rb in sdbport-0.2.0

- old
+ new

@@ -20,14 +20,10 @@ def create_domain_unless_present(domain) sdb.create_domain(domain) unless domain_exists?(domain) end - def select(query, options = {}) - sdb.select(query, options).body - end - def select_and_follow_tokens(query, options = {}) data = {} next_token = nil final_token = false while true @@ -46,11 +42,11 @@ def domain_empty?(domain) count(domain).zero? end - def put_attributes(domain, key, attributes, options = {}) - sdb.put_attributes domain, key, attributes, options + def batch_put_attributes(domain, attributes) + sdb.batch_put_attributes domain, attributes end def delete_domain(domain) sdb.delete_domain(domain) end