impas-client 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,6 +39,17 @@ module Impas
39
39
  true
40
40
  end
41
41
 
42
+ def delete_group(grp_key)
43
+ entry_point = "/api/group/#{@op_key}/#{grp_key}"
44
+ res = @@conn.delete entry_point
45
+
46
+ if res.status != 200
47
+ raise StandardError.new("HTTP status:#{res.status}")
48
+ end
49
+
50
+ true
51
+ end
52
+
42
53
  def groups
43
54
  entry_point = "/api/group/#{@op_key}"
44
55
  res = @@conn.get entry_point
@@ -1,6 +1,6 @@
1
1
  module Impas
2
2
  class Client
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  API_URL = "http://impas-hideack.sqale.jp/"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: impas-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-03 00:00:00.000000000 Z
12
+ date: 2013-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday