simplificator-compete 0.1.0 → 0.1.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.
- data/VERSION.yml +1 -1
- data/lib/compete.rb +2 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/compete.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'httparty'
|
1
2
|
class Compete
|
2
3
|
include HTTParty
|
3
4
|
format :xml
|
@@ -14,7 +15,7 @@ class Compete
|
|
14
15
|
attr_reader(:domain, :xml)
|
15
16
|
|
16
17
|
#
|
17
|
-
# Creates a new Compete Object from XML response of the compete API.
|
18
|
+
# Creates a new Compete Object from the XML response of the compete API (as parsed by httparty).
|
18
19
|
# Details see http://developer.compete.com/
|
19
20
|
#
|
20
21
|
def initialize(xml)
|