frontapp 0.0.11 → 0.0.12

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
- SHA1:
3
- metadata.gz: 39e2a2ed37f421a9e27a5d093b6b8edfabefe858
4
- data.tar.gz: 11239032440cc8d9d85fc008944180325ed8c0f0
2
+ SHA256:
3
+ metadata.gz: 137dd83548a9b04722f92973d145361bc5a9cc54a8f3b4ef7838123fa1d577f2
4
+ data.tar.gz: 2e27f67b3cb694fa4d9d80b7080c5164ade7279ca1882433f3838cfaa3211a21
5
5
  SHA512:
6
- metadata.gz: 4dcb5247a8e1efc3b367fe0f71852eb4c1676a7544446f640abe791d6c0b5b33c0f5ae26208d9f320ac9b95bd015b9f0ea2d08928952485f19eb1cf010b7f40e
7
- data.tar.gz: 026dad6c0c6fd6ad2f5cfab7cf943f8dcf17174704f3f9b261e8ce4256eb41aeb3141c53017f53ad672bc1400233d39fb5f47031d642183a8e8cf18f02cb0ffe
6
+ metadata.gz: 1c535fe7e6d2576bcff22a3f0b9cad3626d64a7abfd998cb0314b727722a3eec79ad0ea57f34cc46173b7bba7c5a316f7773af8f76d171f7a045d7d76bc73bd9
7
+ data.tar.gz: e59366a309d89dffe65ee6383d79211267ae135883c0c93bbf79941ffcc81942b3826a974e1166ce17f7a66c97d291a4c4443eb929c39da3ba3586e033d5f5b6
@@ -93,6 +93,28 @@ module Frontapp
93
93
  cleaned = params.permit(:link_ids)
94
94
  delete("conversations/#{conversation_id}/links", cleaned)
95
95
  end
96
+
97
+ # Parameters
98
+ # Name Type Description
99
+ # ----------------------------------------------
100
+ # conversation_id string The conversation Id
101
+ # teammate_ids array of strings follower IDs to remove
102
+ # ----------------------------------------------
103
+ def remove_conversation_followers!(conversation_id, params = {})
104
+ cleaned = params.permit(:teammate_ids)
105
+ delete("conversations/#{conversation_id}/followers", cleaned)
106
+ end
107
+
108
+ # Parameters
109
+ # Name Type Description
110
+ # ----------------------------------------------
111
+ # conversation_id string The conversation Id
112
+ # teammate_ids array of strings follower IDs to add
113
+ # ----------------------------------------------
114
+ def add_conversation_followers!(conversation_id, params = {})
115
+ cleaned = params.permit(:teammate_ids)
116
+ create_without_response("conversations/#{conversation_id}/followers", cleaned)
117
+ end
96
118
  end
97
119
  end
98
120
  end
@@ -1,3 +1,3 @@
1
1
  module Frontapp
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frontapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niels van der Zanden
@@ -112,8 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
114
  requirements: []
115
- rubyforge_project:
116
- rubygems_version: 2.5.2.1
115
+ rubygems_version: 3.1.6
117
116
  signing_key:
118
117
  specification_version: 4
119
118
  summary: Ruby client for Frontapp API