headquarters 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/headquarters/members.rb +5 -3
- data/lib/headquarters/requests.rb +7 -5
- data/lib/headquarters/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: afc4f5e571284c21746e83b7457fd94dd0feec1b
|
4
|
+
data.tar.gz: 14577eacaab16328632a32ede0cbdee1bf4d99b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38d64c88a6eed07104f2731359d5c44658e0bf3d36fca2af8f95b03ce8b7b9ec0c22d76c1111336e6871eef13bbe19c163a60b591977c6a9044d1563002eca3f
|
7
|
+
data.tar.gz: 8ee901697e26cd0656c63c38fd430974e155c74f55d0c2aeaef77cc60d2291549b15b23213655c4ad189359076d909ce6fd14dd40fde889a03b72ba5c94eaf4b
|
data/lib/headquarters/members.rb
CHANGED
@@ -1,10 +1,12 @@
|
|
1
1
|
require 'httparty'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
module Headquarters
|
4
|
+
class Requests
|
5
|
+
include ::HTTParty
|
6
|
+
base_uri 'hq.groupbuddies.com'
|
6
7
|
|
7
|
-
|
8
|
-
|
8
|
+
def self.get_json(path)
|
9
|
+
get(path).to_json
|
10
|
+
end
|
9
11
|
end
|
10
12
|
end
|
data/lib/headquarters/version.rb
CHANGED