frontapp 0.0.11 → 0.0.12
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.
- checksums.yaml +5 -5
- data/lib/frontapp/client/conversations.rb +22 -0
- data/lib/frontapp/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 137dd83548a9b04722f92973d145361bc5a9cc54a8f3b4ef7838123fa1d577f2
|
|
4
|
+
data.tar.gz: 2e27f67b3cb694fa4d9d80b7080c5164ade7279ca1882433f3838cfaa3211a21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/frontapp/version.rb
CHANGED
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.
|
|
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
|
-
|
|
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
|