peoplegroup-connectors 0.1.17 → 0.1.24
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97a6fe07efea16d31ea53287627b323c6fde6992515d07c16a75b5e3877a0069
|
4
|
+
data.tar.gz: bd980036ace9478fffba89f4b475860606eb0561db2f091fd61231f0d8aa685d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a7b2bfa7310f155f2c95ee83f26974c1d782b6aa8a561b21670780623dd889bb5ae49ea641bf4c6ae093ab09a45730271cd9f899257c05ed89e52aecaf4f1de
|
7
|
+
data.tar.gz: 7db8bb925d0f46963446841e70c9ae74dc13c913813d6d044756b538455a2f8d2c0cf3638595ab25e2e7e692cf12ff75d68873ea92803ea704b42fbf08876f30
|
@@ -90,10 +90,6 @@ module PeopleGroup
|
|
90
90
|
end
|
91
91
|
alias_method :active_and_current_team_members, :active_and_current_employees
|
92
92
|
|
93
|
-
def direct_reports(id)
|
94
|
-
active_team_members.select { |team_member| team_member['supervisorEId'] == id.to_s }
|
95
|
-
end
|
96
|
-
|
97
93
|
def add_stock_options(employee_id, data)
|
98
94
|
@client.employee.add_table_row(employee_id, 'customEquity', data)
|
99
95
|
end
|
@@ -29,12 +29,16 @@ module PeopleGroup
|
|
29
29
|
channels.reject(&:is_private)&.map(:name)
|
30
30
|
end
|
31
31
|
|
32
|
-
def
|
33
|
-
@client.
|
32
|
+
def link_for_message(channel:, timestamp:)
|
33
|
+
@client.chat_getPermalink(channel: channel, message_ts: timestamp)
|
34
34
|
end
|
35
35
|
|
36
|
-
def
|
37
|
-
@client.
|
36
|
+
def send_message(channel:, text: '', as_user: true, attachments: [], thread_ts: nil, reply_broadcast: false, formatted_message: [])
|
37
|
+
@client.chat_postMessage(channel: channel, text: text, as_user: true, attachments: attachments, unfurl_links: false, thread_ts: thread_ts, reply_broadcast: reply_broadcast, blocks: formatted_message)
|
38
|
+
end
|
39
|
+
|
40
|
+
def update_message(channel:, timestamp:, text:, attachments: [])
|
41
|
+
@client.chat_update(channel: channel, text: text, ts: timestamp, as_user: true, attachments: attachments)
|
38
42
|
end
|
39
43
|
|
40
44
|
def send_modal_message(trigger:, view:)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: peoplegroup-connectors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lien van den steen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab
|