restpack-group-client 0.0.46 → 0.1.0

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.
@@ -35,8 +35,8 @@ module RestPack
35
35
  hydrate http_get("/api/v1/groups/#{id}.json")
36
36
  end
37
37
 
38
- def create(params)
39
- http_post("/api/v1/groups", :group => params)
38
+ def create(group)
39
+ http_post("/api/v1/groups", :group => group)
40
40
  end
41
41
  end
42
42
 
@@ -53,6 +53,10 @@ module RestPack
53
53
  end
54
54
 
55
55
  class InvitationApi < BaseApi
56
+ def create(invitation)
57
+ http_post("/api/v1/invitations", :invitation => invitation)
58
+ end
59
+
56
60
  def accept(params)
57
61
  http_put("/api/v1/invitations/accept", params)
58
62
  end
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Group
3
3
  module Client
4
- VERSION = "0.0.46"
4
+ VERSION = "0.1.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-group-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: