advantage_quickbase 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/quickbase.rb +4 -0
- metadata +1 -1
data/lib/quickbase.rb
CHANGED
@@ -103,6 +103,10 @@ module AdvantageQuickbase
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def purge_records ( db_id, options={} )
|
106
|
+
if options.length == 0
|
107
|
+
options[ :query ] = ''
|
108
|
+
end
|
109
|
+
|
106
110
|
result = send_request( :purgeRecords, db_id, options )
|
107
111
|
|
108
112
|
get_tag_value( result, :num_records_deleted ).to_s
|