Giter Site home page Giter Site logo

seven-io / ruby-client Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 240 KB

Official Ruby API Client for the seven.io SMS Gateway

Home Page: https://rubygems.org/gems/seven_api

License: MIT License

Ruby 99.84% Shell 0.16%
sms text2speech hlr cnam mnp tts sdk ruby api-client

ruby-client's Introduction

Official Ruby Client for seven.io

This gem requires Ruby >= 3.1.0.

Installation

gem install seven_api

Usage

Retrieve balance

require 'seven_api/client'

api_key = ENV['SEVEN_API_KEY']
# retrieve balance
puts SevenApi::Resources::Balance.new(api_key).retrieve

# send SMS
puts SevenApi::Resources::Sms.new(api_key).retrieve

Testing

SEVEN_API_KEY=MySevenApiKey bundle exec rspec

Optional environment variables

Setting SEVEN_DEBUG=1 prints details to stdout.

Setting SEVEN_TEST_HTTP=1 enables live testing with actual API requests.

Support

Need help? Feel free to contact us.

MIT

ruby-client's People

Contributors

matthiez avatar

Watchers

 avatar  avatar

ruby-client's Issues

Release new version

Hi @matthiez

originally I came here to request an update of the faraday dependency, but then I realized that you already did some major rework, which also includes an upgrade of all dependecies ๐Ÿ‘

Therefore I wanted to ask if you can release a new version to rubygems?

I suspect because of the major refactoring, this will be a breaking change resulting in version 1.0? If this is the case, could you also add a Changelog file please?

Thanks!

Add a Changelog

Hi, this is a follow-up issue from #3, as I got no feedback on my question there:

Can you please add a Changelog file, or create releases with the respective changes?
It would be nice to have at least a bit of information about what changed between releases.

Make Gem compatible with with Ruby 3.0, Ruby 3.1 and Ruby 3.2

In the README.md file, it is stated that this Gem is compatible only with Ruby versions below (!) 3.0. Ruby version 3.0 was released back in 2020.

This makes this Gem unusable for our company. Can you please make this Gem compatible with latest Ruby versions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.