advantage_quickbase 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: