{"id":21406791,"url":"https://github.com/ringcentral/engage-digital-communities-ruby","last_synced_at":"2025-07-14T00:32:52.381Z","repository":{"id":22530814,"uuid":"25871432","full_name":"ringcentral/engage-digital-communities-ruby","owner":"ringcentral","description":"Ruby Client for Engage Communities API ","archived":false,"fork":false,"pushed_at":"2022-02-18T10:01:34.000Z","size":151,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-07T20:43:16.646Z","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/ringcentral.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-28T13:50:02.000Z","updated_at":"2024-06-20T16:40:16.000Z","dependencies_parsed_at":"2022-08-21T06:30:24.556Z","dependency_job_id":null,"html_url":"https://github.com/ringcentral/engage-digital-communities-ruby","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ringcentral/engage-digital-communities-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-communities-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-communities-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-communities-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-communities-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ringcentral","download_url":"https://codeload.github.com/ringcentral/engage-digital-communities-ruby/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ringcentral%2Fengage-digital-communities-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265227899,"owners_count":23731060,"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-22T16:42:41.663Z","updated_at":"2025-07-14T00:32:47.365Z","avatar_url":"https://github.com/ringcentral.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RingCentral Engage Communities Ruby API Client\n\n[![Build Status](https://github.com/ringcentral/engage-digital-communities-ruby/workflows/Ruby%20CI/badge.svg)](https://github.com/ringcentral/engage-digital-communities-ruby/actions)\n\nRubyClient for the Engage Communities.\n\nThis client support most of Engage Communities resources, can read and write them, paginates with cursor like interface, supports attachments and supports proper validation and error format.\n\nThis is heavily used internally at Engage Communities.\n\n# Compatibility\n\nCompatible and tested with:\n\n- Ruby MRI 2.6, 2.7, 3.0 and HEAD\n- ActiveSupport 4+, 5+, 6+, Head\n\n\n## Installation\n\nGemfile:\n\n```ruby\ngem 'dimelo_ccp_api'\n```\n\n## Usage\n\n```ruby\nrequire 'dimelo_ccp_api'\n\n\nusers_client = Dimelo::CCP::API::Client.new('https://domain-test.api.users.dimelo.com/1.0', 'access_token' =\u003e ENV['DIMELO_API_KEY'])\nanswers_client = Dimelo::CCP::API::Client.new('https://domain-test.api.answers.dimelo.com/1.0', 'access_token' =\u003e ENV['DIMELO_API_KEY'])\nfeedbacks_client = Dimelo::CCP::API::Client.new('https://domain-test.api.ideas.dimelo.com/1.0', 'access_token' =\u003e ENV['DIMELO_API_KEY'])\n\nuser = Dimelo::CCP::User.find(1, users_client)\nquestions = user.questions(answers_client)\nputs \"question count: #{questions.count}\"\n\nquestions.each do |question, i|\n  answers = question.answers\n  puts \"#{i} of #{questions.count} =\u003e answer count: #{answers.count}\"\n  answers.each do |answer|\n    answer.question_flow_state = \"lol\"\n  end\nend\n\nfeedbacks = Dimelo::CCP::Feedback.find({ :order =\u003e 'updated_at.desc' }, feedbacks_client)\nputs \"feedbacks count: #{feedbacks.count}\"\nputs \"feedbacks not by anonymous and superadmin: #{feedbacks.select{|f| f.user_id.present?}.count}\"\n```\n\n## Contributing\n\n1. Fork it ( http://github.com/ringcentral/engage-digital-communities-ruby/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fengage-digital-communities-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fringcentral%2Fengage-digital-communities-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fringcentral%2Fengage-digital-communities-ruby/lists"}