soda_xml_team 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/soda_xml_team/client.rb +2 -2
- 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: fc4f73bce6b08392c043c74e28b26cb211ff46bf
|
4
|
+
data.tar.gz: f74b0ae421363c4d78b97c45dfaa820e07337de6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78d8485b40511813ccdd379e8ed1b15f250a3ac78a03ef804ab02a58d3d9d239600181d285d7b4f1f33921c71bc3aa057cd861ab31407750cf55bab1fa004a2b
|
7
|
+
data.tar.gz: 4d1a8177cea209ce2993ac67dec266486032d97034a2af57a6eab9734e47763ef71a11e6e4838a033514633ff0fa9d165f15e4476eab2ba8318ea434cc5e3d2d
|
data/README.md
CHANGED
@@ -2,7 +2,11 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/seatshare/soda_xml_team.png)](https://travis-ci.org/seatshare/soda_xml_team)
|
4
4
|
|
5
|
-
This gem serves as an interface to the [SODA (Sports On Demand API) from XML Team](http://www.xmlteam.com/soda/). It uses [HTTParty](http://johnnunemaker.com/httparty/) and [Nokogiri](http://nokogiri.org/) to retrieve and parse the data.
|
5
|
+
This [gem]() serves as an interface to the [SODA (Sports On Demand API) from XML Team](http://www.xmlteam.com/soda/). It uses [HTTParty](http://johnnunemaker.com/httparty/) and [Nokogiri](http://nokogiri.org/) to retrieve and parse the data.
|
6
|
+
|
7
|
+
## Installing
|
8
|
+
|
9
|
+
Run `gem install soda_xml_team` to make it available system wide or add `gem 'soda_xml_team'` to your `Gemfile`.
|
6
10
|
|
7
11
|
## Get a list of documents
|
8
12
|
|
data/lib/soda_xml_team/client.rb
CHANGED
@@ -12,12 +12,12 @@ module SodaXmlTeam
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def get_listing(options={})
|
15
|
-
response = HTTParty.get(SodaXmlTeam::Address.build("get_listing", options), :basic_auth => self.auth)
|
15
|
+
response = HTTParty.get(SodaXmlTeam::Address.build("get_listing", options), :basic_auth => self.auth, :verify => false)
|
16
16
|
Nokogiri::XML(response.body)
|
17
17
|
end
|
18
18
|
|
19
19
|
def get_document(options={})
|
20
|
-
response = HTTParty.get(SodaXmlTeam::Address.build("get_document", options), :basic_auth => self.auth)
|
20
|
+
response = HTTParty.get(SodaXmlTeam::Address.build("get_document", options), :basic_auth => self.auth, :verify => false)
|
21
21
|
Nokogiri::XML(response.body)
|
22
22
|
end
|
23
23
|
|