{"id":17500399,"url":"https://github.com/jun85664396/coolsms-ruby","last_synced_at":"2025-07-04T23:32:37.359Z","repository":{"id":32051325,"uuid":"35622957","full_name":"jun85664396/coolsms-ruby","owner":"jun85664396","description":"coolsms REST API helper, coolsms ruby client","archived":false,"fork":false,"pushed_at":"2017-07-22T10:20:28.000Z","size":20,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T16:54:01.949Z","etag":null,"topics":["client-library","coolsms","coolsms-client","coolsms-ruby","ruby"],"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/jun85664396.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2015-05-14T16:37:39.000Z","updated_at":"2019-02-05T20:26:55.000Z","dependencies_parsed_at":"2022-09-01T22:41:32.182Z","dependency_job_id":null,"html_url":"https://github.com/jun85664396/coolsms-ruby","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/jun85664396%2Fcoolsms-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jun85664396%2Fcoolsms-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jun85664396%2Fcoolsms-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jun85664396%2Fcoolsms-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jun85664396","download_url":"https://codeload.github.com/jun85664396/coolsms-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250356374,"owners_count":21417082,"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":["client-library","coolsms","coolsms-client","coolsms-ruby","ruby"],"created_at":"2024-10-19T18:09:14.518Z","updated_at":"2025-04-23T02:26:25.951Z","avatar_url":"https://github.com/jun85664396.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coolsms\n\ncoolsms Rest API helper\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'coolsms'\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\nOr install it yourself as:\n\n```\n$ gem install coolsms\n```\n\nTest\n\n```\n$ ruby test/coolsms_test.rb -v\n```\n\n## Configuration\n\n- `ENV['COOLSMS_KEY']` and `ENV['COOLSMS_SECRET_KEY']`\n\n## Usage \n\n#### Send \u003c Applications\n\n```ruby\nCOOLSMS_SEND = Coolsms::SMS::Send.new( { options } )\nCOOLSMS_SEND.send( from, to, text)\nCOOLSMS_SEND.set_field( { options} )\n```\n\n* Options\n  - type\n  - image\n  - image_encoding\n  - refname\n  - country\n  - datetime\n  - subject\n  - charset\n  - srk\n  - mode\n  - extension\n  - delay\n  - force_sms\n  - os_platform\n  - dev_lang\n  - sdk_version\n  - app_version\n  - sender_key\n  - template_code\n\n* Methods\n  - send\n  - set_field\n    \n#### Balance\n\n```ruby\nCOOLSMS_BALANCE = Coolsms::SMS::Balance.new\nCOOLSMS_BALANCE.balance\n```\n\n* Methods\n  - balance\n\n#### Status \u003c Applications\n\n```ruby\nCOOLSMS_STATUS = Coolsms::SMS::Status.new( options )\nCOOLSMS_STATUS.status\n```\n\n* Options\n  - count\n  - unit\n  - date\n  - channel\n    \n* Methods\n  - status\n\n#### Sent \u003c Applications\n\n```ruby\nCOOLSMS_SENT = Coolsms::SMS::Sent.new( options )\nCOOLSMS_SENT.sent\n```\n\n* Options\n  - count\n  - page\n  - rcpt\n  - start\n  - end\n  - status\n  - resultcode\n  - notin_resultcode\n  - mid\n  - gid\n    \n* Methods\n  - sent\n\n#### Cancel \u003c Applications\n\n```ruby\nCOOLSMS_CANCEL = Coolsms::SMS::Cancel.new( options )\nCOOLSMS_CANCEL.cancel\n```\n\n* Options\n  - mid\n  - gid\n    \n* Methods\n  - cancel\n    \n#### Applications\n\n* Methods\n  - set_fields\n  - fields\n    \n#### TODO\n\n- [x] Send\n- [x] Sent\n- [x] Cancel\n- [x] Balance\n- [x] Status\n\n## Coolsms Rest API Document\n\n* [Coolsms REST API](http://www.coolsms.co.kr/REST_API)\n* Support API version : 1.5\n\n## Contributing\n\n1. Fork it ( https://github.com/[my-github-username]/coolsms/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 a new Pull Request\n\n## Source\n\nhttps://github.com/jun85664396/coolsms\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjun85664396%2Fcoolsms-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjun85664396%2Fcoolsms-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjun85664396%2Fcoolsms-ruby/lists"}