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.
16 17 18 |
# File 'lib/slack/web/api/endpoints/team.rb', line 16 def team_accessLogs( = {}) post('team.accessLogs', ) end |
#team_billableInfo(options = {}) ⇒ Object
Gets billable users information for the current team.
27 28 29 30 |
# File 'lib/slack/web/api/endpoints/team.rb', line 27 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.
39 40 41 |
# File 'lib/slack/web/api/endpoints/team.rb', line 39 def team_info( = {}) post('team.info', ) end |
#team_integrationLogs(options = {}) ⇒ Object
Gets the integration logs for the current team.
56 57 58 59 |
# File 'lib/slack/web/api/endpoints/team.rb', line 56 def team_integrationLogs( = {}) = .merge(user: users_id()['user']['id']) if [:user] post('team.integrationLogs', ) end |