buweb_api_client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/buweb/api_client/departments.rb +1 -1
- data/lib/buweb/api_client/people.rb +1 -4
- data/lib/buweb_api_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 983e4d3557e56521695dfd74cdd21dde21b24cda
|
4
|
+
data.tar.gz: 01fd187f53aa3f7735dc4a6828611de25c3828cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c6863a851333fed4b6e6c563f497535371826b28da672ea94ccdd847e3fed047bbf0c56e8ad64bc56ab9d91329a15f78f9f1fb9af8535d78e9835fdad48cd37
|
7
|
+
data.tar.gz: aac35188dffe91787cee8b9ef7a81b76ecbb63d7a65eeb3e3bfd97bd8ed56bb16ad72892e0af7c6d817adc4590082c84e4a6e5433fdb7734420577ebb416508d
|
@@ -2,16 +2,13 @@ module BUWeb
|
|
2
2
|
module APIClient
|
3
3
|
class People < Weary::Client
|
4
4
|
domain BUWebAPIClient.config.base_url
|
5
|
-
# use Weary::Middleware::ContentType
|
6
5
|
use Weary::Middleware::HMACAuth, [BUWebAPIClient.config.credentials]
|
7
6
|
|
8
7
|
get :index, '/people' do |resource|
|
9
8
|
resource.optional :affiliation
|
10
9
|
end
|
11
10
|
|
12
|
-
get :
|
13
|
-
resource.optional :type
|
14
|
-
end
|
11
|
+
get :show, '/people/{id}'
|
15
12
|
end
|
16
13
|
end
|
17
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buweb_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Devin Hanlon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: api-auth
|