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.
Files changed (2) hide show
  1. data/lib/quickbase.rb +4 -0
  2. 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: advantage_quickbase
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: