quickbase_client 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +2 -0
- data/README.rdoc +2 -2
- data/lib/QuickBaseClient.rb +5 -4
- metadata +2 -2
data/CHANGES
CHANGED
data/README.rdoc
CHANGED
@@ -31,6 +31,8 @@ More information about the QuickBase Client is available here -
|
|
31
31
|
|
32
32
|
== Change History
|
33
33
|
|
34
|
+
1.0.20 - 11/18/2011 - Added optional dfid param to getRecordAsHTML.
|
35
|
+
|
34
36
|
1.0.19 - 11/13/2011 - Accommodate Net::HTTP changes in Ruby 1.9.3.
|
35
37
|
|
36
38
|
1.0.18 - 09/16/2011 - editRecord() now supports using optional key field as a record identifier.
|
@@ -49,8 +51,6 @@ More information about the QuickBase Client is available here -
|
|
49
51
|
|
50
52
|
1.0.11 - 05/08/2011 - Fixed a problem with getFilteredRecords().
|
51
53
|
|
52
|
-
1.0.10 - 03/27/2011 - Can now use require 'quickbase_client' instead of require 'QuickBaseClient'.
|
53
|
-
|
54
54
|
See CHANGES file for earlier updates.
|
55
55
|
|
56
56
|
|
data/lib/QuickBaseClient.rb
CHANGED
@@ -37,7 +37,7 @@ class Client
|
|
37
37
|
attr_reader :access, :accessid, :accountLimit, :accountUsage, :action, :admin
|
38
38
|
attr_reader :adminOnly, :ancestorappid, :app, :appdbid, :appdata, :applicationLimit, :applicationUsage, :apptoken, :authenticationXML
|
39
39
|
attr_reader :cacheSchemas, :cachedSchemas, :chdbids, :choice, :clist, :copyfid, :create, :createapptoken, :createdTime
|
40
|
-
attr_reader :databases, :dbdesc, :dbid, :dbidForRequestURL, :dbname, :delete, :destrid, :disprec, :domain, :downLoadFileURL
|
40
|
+
attr_reader :databases, :dbdesc, :dbid, :dbidForRequestURL, :dbname, :delete, :destrid, :dfid, :disprec, :domain, :downLoadFileURL
|
41
41
|
attr_reader :email, :errcode, :errdetail, :errtext, :excludeparents, :externalAuth, :fform
|
42
42
|
attr_reader :fid, :fids, :field, :fields, :field_data, :field_data_list, :fieldTypeLabelMap, :fieldValue, :fileContents, :fileUploadToken, :firstName, :fmt, :fname, :fnames, :fvlist
|
43
43
|
attr_reader :hours, :HTML, :httpConnection, :id, :ignoreError, :includeancestors
|
@@ -2556,12 +2556,13 @@ class Client
|
|
2556
2556
|
end
|
2557
2557
|
|
2558
2558
|
# API_GetRecordAsHTML
|
2559
|
-
def getRecordAsHTML( dbid, rid, jht = nil )
|
2559
|
+
def getRecordAsHTML( dbid, rid, jht = nil, dfid = nil )
|
2560
2560
|
|
2561
|
-
@dbid, @rid, @jht = dbid, rid, jht
|
2561
|
+
@dbid, @rid, @jht, @dfid = dbid, rid, jht, dfid
|
2562
2562
|
|
2563
2563
|
xmlRequestData = toXML( :rid, @rid )
|
2564
2564
|
xmlRequestData << toXML( :jht, "1" ) if @jht
|
2565
|
+
xmlRequestData << toXML( :dfid, @dfid ) if @dfid
|
2565
2566
|
|
2566
2567
|
sendRequest( :getRecordAsHTML, xmlRequestData )
|
2567
2568
|
|
@@ -2572,7 +2573,7 @@ class Client
|
|
2572
2573
|
end
|
2573
2574
|
|
2574
2575
|
# API_GetRecordAsHTML, using the active table id.
|
2575
|
-
def _getRecordAsHTML( rid, jht = nil ) getRecordAsHTML( @dbid, rid, jht ) end
|
2576
|
+
def _getRecordAsHTML( rid, jht = nil, dfid = nil ) getRecordAsHTML( @dbid, rid, jht, dfid ) end
|
2576
2577
|
|
2577
2578
|
# API_GetRecordInfo
|
2578
2579
|
def getRecordInfo( dbid, rid )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quickbase_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-11-
|
12
|
+
date: 2011-11-18 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Wraps the QuickBase HTTP API and adds classes and methods to minimize
|
15
15
|
the amount of code needed to get useful things done. This is a minimal subset of
|