{"id":13738962,"url":"https://github.com/dimakura/magti","last_synced_at":"2025-05-08T18:31:16.854Z","repository":{"id":3107725,"uuid":"4133863","full_name":"dimakura/magti","owner":"dimakura","description":"Gem for sending SMS using Magticom gateway","archived":false,"fork":false,"pushed_at":"2014-06-24T14:05:51.000Z","size":292,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-02T15:21:43.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://my.telasi.ge","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/dimakura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-25T07:09:28.000Z","updated_at":"2023-09-10T22:42:25.000Z","dependencies_parsed_at":"2022-08-06T13:15:29.838Z","dependency_job_id":null,"html_url":"https://github.com/dimakura/magti","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimakura%2Fmagti","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimakura%2Fmagti/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimakura%2Fmagti/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimakura%2Fmagti/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimakura","download_url":"https://codeload.github.com/dimakura/magti/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253127020,"owners_count":21858174,"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-08-03T04:00:21.812Z","updated_at":"2025-05-08T18:31:16.468Z","avatar_url":"https://github.com/dimakura.png","language":"Ruby","funding_links":[],"categories":["Categories"],"sub_categories":[],"readme":"# Magti \n\nMagti is a gem for sending SMS messages through [Magticom](http://www.magticom.ge/) gateway.\n\nYou need access to Magticom's server, also they provide you with user/password parameters.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'magti'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install magti\n\n## Usage\n\nStart with configuring the gem:\n\n```ruby\nMagti.config(:username =\u003e 'testuser', :password =\u003e 'secret', :service =\u003e 1, :client =\u003e 1)\n```\n\n`username`, `password`, `service` and `client` parameters are provided by Magticom itself.\nNo additional configuration is required.\n\nNow you can send SMS message by calling `send_sms` method:\n\n```ruby\nresp = Magti.send_sms '599XXXXXX', 'test message'\n```\n\n`send_sms` returns response object, which contains operation code (`0000` for successfull transactions)\nand message identification code, which can be used for further tracking of the message:\n\n\n```ruby\nputs resp.code # =\u003e 0000 for normal processing\nputs resp.id   # =\u003e nil unless resp.code = '0000'\n```\n\nAfter message is sent you can track it's progress by calling:\n\n```ruby\nstatus = Magti.track_sms(resp.id)\n```\n\nStatus value `1` indicates, that the message was delivered to the mobile phone.\n\n## Additional resources\n\nProtocol description which is used by this gem, can be found in `refs` subdirectory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimakura%2Fmagti","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimakura%2Fmagti","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimakura%2Fmagti/lists"}