Module: Slack::Web::Api::Endpoints::Team
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/team.rb
Instance Method Summary collapse
-
#team_accessLogs(options = {}) ⇒ Object
Gets the access logs for the current team.
-
#team_billableInfo(options = {}) ⇒ Object
Gets billable users information for the current team.
-
#team_info(options = {}) ⇒ Object
Gets information about the current team.
-
#team_integrationLogs(options = {}) ⇒ Object
Gets the integration logs for the current team.
Instance Method Details
#team_accessLogs(options = {}) ⇒ Object
Gets the access logs for the current team.
15 16 17 |
# File 'lib/slack/web/api/endpoints/team.rb', line 15 def team_accessLogs( = {}) post('team.accessLogs', ) end |
#team_billableInfo(options = {}) ⇒ Object
Gets billable users information for the current team.
26 27 28 29 |
# File 'lib/slack/web/api/endpoints/team.rb', line 26 def team_billableInfo( = {}) = .merge(user: users_id()['user']['id']) if [:user] post('team.billableInfo', ) end |
#team_info(options = {}) ⇒ Object
Gets information about the current team.
36 37 38 |
# File 'lib/slack/web/api/endpoints/team.rb', line 36 def team_info( = {}) post('team.info', ) end |
#team_integrationLogs(options = {}) ⇒ Object
Gets the integration logs for the current team.
53 54 55 56 |
# File 'lib/slack/web/api/endpoints/team.rb', line 53 def team_integrationLogs( = {}) = .merge(user: users_id()['user']['id']) if [:user] post('team.integrationLogs', ) end |