qbwc_requests 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d6594578c5d8563d509fd1181cbe303c752632c
|
4
|
+
data.tar.gz: 4e2d5b8f6394d3d876a5ad125d661a7035d82f34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 810a75787b7b703fa49333162b7c155524a8d2a0af81e4a5dc0c04449ba2159b4125544c8ba8605b811bac47db7758a0d1c73c2909c8349aa0004b396efbf9ce
|
7
|
+
data.tar.gz: 7e50c0abed86edcce9bc2694bf8e472a6f5f47200cf3947225aafb91a6cf33773463ee8d1fb412816717f2508a8467b1966be7451a9d786b7220a8da8c64acf0
|
@@ -7,8 +7,9 @@ module Qbwc
|
|
7
7
|
include ActiveModel::Validations
|
8
8
|
include ActiveModel::Conversion
|
9
9
|
|
10
|
-
def self.query
|
11
|
-
|
10
|
+
def self.query options = nil
|
11
|
+
options = { max_returned: 2000 } if options == nil or options.empty?
|
12
|
+
XmlActions.query "#{underscore self.name.demodulize}_query_rq", options
|
12
13
|
end
|
13
14
|
|
14
15
|
def add
|
@@ -58,4 +59,4 @@ module Qbwc
|
|
58
59
|
|
59
60
|
end
|
60
61
|
end
|
61
|
-
end
|
62
|
+
end
|
@@ -1,14 +1,13 @@
|
|
1
1
|
module Qbwc
|
2
2
|
module XmlActions
|
3
3
|
|
4
|
-
def self.query req,
|
4
|
+
def self.query req, options
|
5
5
|
hash = {"qbxml"=>
|
6
6
|
{"xml_attributes"=>{},
|
7
7
|
"qbxml_msgs_rq"=>
|
8
8
|
{"xml_attributes"=>{"onError"=>"stopOnError"},
|
9
9
|
"#{req}"=>
|
10
|
-
{"xml_attributes"=>{}
|
11
|
-
"max_returned"=> max_returned}
|
10
|
+
{"xml_attributes"=>{}}.merge(options)
|
12
11
|
}
|
13
12
|
}
|
14
13
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qbwc_requests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexandre Mondaini Calvão
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: qbxml
|