esa 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16d8b6127c669d6c458b61a6fe2fb666043d838b
4
- data.tar.gz: 59bab0a3e831894d3923a3a64198b74c9ccdd7f7
3
+ metadata.gz: 1df5d96eeb146bae2008d71dc4fa096d590f0a02
4
+ data.tar.gz: 121cdd2a3be205478c7ce24dc94170298868200e
5
5
  SHA512:
6
- metadata.gz: c638c0b337a35463669d0209cf3b01b0a18b8c6c71abe55637f6f4a2d242385a9ae4ca9d5e5cf0f1304a811ec117b4c242e8aeb89db1966cad4ea1d5f87f2b30
7
- data.tar.gz: 934e22d59f88c30fe1f0f8c675f714a46ee8a572f5b03377ffda5e21f0aff6c30089d04b10afc92d5f2fefe38802b81592f6ad95d1d3522b26f82343809fb4f9
6
+ metadata.gz: d25baa0e5934bace967ca55758273969f7e7edc8f3a717eac643f45a9512a76cfec54ec59d9b794e2aff41859a1d5586067bcb34e25c26a3622609b84f3161ba
7
+ data.tar.gz: bbb4ff23f519ebaf64cd98302e71650ba59f6cbdfdc251db3eec95d120cdf63e8bfe83886e06a3b138fefc6d943ba5f748ff618ab8c6fc5e0f89cf8ef4620b4d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.2.0 (2015-12-03)
2
+ - add: [Add Members API by fukayatsu · Pull Request #16 · esaio/esa-ruby](https://github.com/esaio/esa-ruby/pull/16)
3
+
1
4
  ## 1.1.2 (2015-10-05)
2
5
  - fix: [Esa::Client#upload_attachment needs 'multi_xml' gem by ppworks · Pull Request #15 · esaio/esa-ruby](https://github.com/esaio/esa-ruby/pull/15)
3
6
 
data/README.md CHANGED
@@ -35,6 +35,9 @@ client.team('bar')
35
35
  client.stats
36
36
  #=> GET /v1/teams/bar/stats
37
37
 
38
+ client.members
39
+ #=> GET /v1/teams/bar/members
40
+
38
41
  # Post API
39
42
  client.posts
40
43
  #=> GET /v1/teams/foo/posts
@@ -14,6 +14,10 @@ module Esa
14
14
  send_get("/v1/teams/#{current_team!}/stats", params, headers)
15
15
  end
16
16
 
17
+ def members(params = nil, headers = nil)
18
+ send_get("/v1/teams/#{current_team!}/members", params, headers)
19
+ end
20
+
17
21
  def posts(params = nil, headers = nil)
18
22
  send_get("/v1/teams/#{current_team!}/posts", params, headers)
19
23
  end
data/lib/esa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esa
2
- VERSION = '1.1.2'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-05 00:00:00.000000000 Z
11
+ date: 2015-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday