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.
18 19 20 |
# File 'lib/slack/web/api/endpoints/team.rb', line 18 def team_accessLogs( = {}) post('team.accessLogs', ) end |
#team_billableInfo(options = {}) ⇒ Object
Gets billable users information for the current team.
31 32 33 34 |
# File 'lib/slack/web/api/endpoints/team.rb', line 31 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.
43 44 45 |
# File 'lib/slack/web/api/endpoints/team.rb', line 43 def team_info( = {}) post('team.info', ) end |
#team_integrationLogs(options = {}) ⇒ Object
Gets the integration logs for the current team.
62 63 64 65 |
# File 'lib/slack/web/api/endpoints/team.rb', line 62 def team_integrationLogs( = {}) = .merge(user: users_id()['user']['id']) if [:user] post('team.integrationLogs', ) end |