Skip to content

Repository files navigation

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 balanceputsSevenApi::Resources::Balance.new(api_key).retrieve# send SMSputsSevenApi::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

About

Official Ruby API Client for the seven.io SMS Gateway

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages