soda_xml_team 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soda_xml_team/address.rb +7 -0
- data/lib/soda_xml_team/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2857d8b4808382fc3871cbbc8f5b9eff9749baeb
|
4
|
+
data.tar.gz: db00265f341efcf3a0fccb67b0a30c679448bf9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f098048d69f37c441292e5ba2fdff32382f27860aa56530559aa9e79edaceefecc48e8ce87c218ad03a1f5ebef246614f91cbdc3e43b56cb056d673b01d07e6f
|
7
|
+
data.tar.gz: b6fb790c1ae6a490d208591573bd0f16e322b8cfdad99e4ea0b6ebfbbc41e298359ba54b89d475d46f78ca101510cc4b2b9a435c601c95f0d87c67dabd941a7b
|
@@ -79,6 +79,13 @@ module SodaXmlTeam
|
|
79
79
|
# Always return the XML listing
|
80
80
|
path << 'stylesheet=sportsml2rss-1.0-s'
|
81
81
|
|
82
|
+
# Select publisher database
|
83
|
+
if options[:publisher].is_a? String
|
84
|
+
path << "publisher-keys=#{options[:publisher]}"
|
85
|
+
else
|
86
|
+
path << 'publisher-keys=sportsforecaster.com'
|
87
|
+
end
|
88
|
+
|
82
89
|
# Get a specific document
|
83
90
|
else
|
84
91
|
endpoint = '/getDocuments?'
|