{"id":16061186,"url":"https://github.com/beyarz/ruby-cellsynt","last_synced_at":"2025-04-05T09:12:57.198Z","repository":{"id":56893378,"uuid":"379707547","full_name":"Beyarz/ruby-cellsynt","owner":"Beyarz","description":"Ruby gem for interacting with Cellsynt.com","archived":false,"fork":false,"pushed_at":"2021-07-04T23:07:21.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T14:58:39.543Z","etag":null,"topics":["api","cellsynt","ruby","sms"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Beyarz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-23T19:19:47.000Z","updated_at":"2021-07-04T23:07:24.000Z","dependencies_parsed_at":"2022-08-21T01:20:14.578Z","dependency_job_id":null,"html_url":"https://github.com/Beyarz/ruby-cellsynt","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/Beyarz%2Fruby-cellsynt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyarz%2Fruby-cellsynt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyarz%2Fruby-cellsynt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Beyarz%2Fruby-cellsynt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Beyarz","download_url":"https://codeload.github.com/Beyarz/ruby-cellsynt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247312093,"owners_count":20918344,"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":["api","cellsynt","ruby","sms"],"created_at":"2024-10-09T04:08:09.582Z","updated_at":"2025-04-05T09:12:57.159Z","avatar_url":"https://github.com/Beyarz.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby-cellsynt\n\nRuby gem for interacting with [Cellsynt.com](https://www.cellsynt.com/)\n\n[![Gem Version](https://badge.fury.io/rb/ruby-cellsynt.svg)](https://badge.fury.io/rb/ruby-cellsynt)\n[![CodeScene Code Health](https://codescene.io/projects/16653/status-badges/code-health)](https://codescene.io/projects/16653)\n\n## Coverage\n\nThis gem allows you to interact with every parameter Cellsynt's sms gateway [offers](https://www.cellsynt.com/pdf/Cellsynt_SMS_gateway_HTTP_interface_(English).pdf)\n\n## Examples\n\n### Send a plain sms with 450 characters\n\nThe message size is checked at runtime. If you reach over the limit of 160 characters then the content switches into a linkable sms which concatenates the content allowing you to reach up to 918 characters instead. The parameters is automatically adjusted so you don't have to think about that.\n\n```ruby\nrequire 'cellsynt'\n\ninstance = Cellsynt.new('username', 'password')\n\ninstance.config[:originator] = '0711223344'\ninstance.config[:destination] = '0711223344'\ninstance.config[:text] = 'A' * 450\n\nputs instance.send # OK: 111AAA, 222BBB, 333CCC\n```\n\n### Send a flash sms using credentials from your environment\n\n```ruby\nrequire 'cellsynt'\n\n# Your environment should have these variables set\n# cellsyntUser='username'\n# cellsyntPass='password'\n\ninstance = Cellsynt.new\n\ninstance.config[:originator] = '0711223344'\ninstance.config[:destination] = '0711223344'\ninstance.config[:text] = 'test'\ninstance.config[:flash] = true\n\nputs instance.send # OK: 123ABC\n```\n\nFor more examples see [EXAMPLES.md](EXAMPLES.md)\n\n## Installation\n\n### Gem\n\n`gem install ruby-cellsynt`\n\n### Bundle\n\n`bundle add ruby-cellsynt`\n\n### Gemfile\n\n`gem 'ruby-cellsynt', '~\u003e 1.0'`\n\n## Dev\n\n### Getting started\n\n`bundle install`\n\n### Lint\n\n`rubocop`\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyarz%2Fruby-cellsynt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeyarz%2Fruby-cellsynt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeyarz%2Fruby-cellsynt/lists"}