{"id":19827948,"url":"https://github.com/operationcode/operationcode-slack","last_synced_at":"2025-10-12T10:13:00.148Z","repository":{"id":56886912,"uuid":"76467114","full_name":"OperationCode/operationcode-slack","owner":"OperationCode","description":"Ruby interface to slack for the Operation Code platform","archived":false,"fork":false,"pushed_at":"2019-03-21T04:46:38.000Z","size":34,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-12T07:55:23.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OperationCode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-14T14:33:39.000Z","updated_at":"2019-03-21T04:46:39.000Z","dependencies_parsed_at":"2022-08-20T14:31:26.437Z","dependency_job_id":null,"html_url":"https://github.com/OperationCode/operationcode-slack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationCode%2Foperationcode-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationCode%2Foperationcode-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationCode%2Foperationcode-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OperationCode%2Foperationcode-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OperationCode","download_url":"https://codeload.github.com/OperationCode/operationcode-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241184046,"owners_count":19924009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T11:14:32.263Z","updated_at":"2025-10-12T10:12:55.118Z","avatar_url":"https://github.com/OperationCode.png","language":"Ruby","readme":"# [Operationcode::Slack](https://github.com/OperationCode/operationcode-slack)\n\n[![Build Status](https://travis-ci.org/OperationCode/operationcode-slack.svg?branch=master)](https://travis-ci.org/OperationCode/operationcode-slack)\n[![Code Climate](https://codeclimate.com/github/OperationCode/operationcode-slack/badges/gpa.svg)](https://codeclimate.com/github/OperationCode/operationcode-slack)\n[![Test Coverage](https://codeclimate.com/github/OperationCode/operationcode-slack/badges/coverage.svg)](https://codeclimate.com/github/OperationCode/operationcode-slack/coverage)\n\nThis gem provides a common interface to slack for the Operation Code platform.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'operationcode-slack', git: 'https://github.com/OperationCode/operationcode-slack'\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n* Require the gem in your application like so:\n```ruby\nrequire 'operationcode/slack'\n```\n\nYou can now call the slack API like so\n\n```ruby\nOperationcode::Slack::Api::ChannelInvite.post(with_data: { channel_id: '1234', user: 'ID1234' })\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\nTo add a new API endpoint simply add a new class in ```lib/operationcode/slack/api.rb```. The name of the class determines its URL.\nFor example - the users info endpoint URL is https://slack.com/api/users.invite. The class name should be ```UsersInvite```\n\nIf you need more advanced funcationality please define your class in ```lib/operationcode/slack/api/```. See ```OauthAccess.rb``` for an example.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/OperationCode/operationcode-slack. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperationcode%2Foperationcode-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperationcode%2Foperationcode-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperationcode%2Foperationcode-slack/lists"}