Skip to content
seven-ioPublic

About

Send SMS from within solidus via seven

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

seven logo

seven SMS for Solidus

Send bulk SMS to your Solidus customers via the seven gateway.

MIT License Solidus 3.x Ruby 2.7+ Gem


Features

  • Bulk SMS - Reach all customers in one go
  • Country Filter - Limit recipients to a specific country
  • Multiple Auth Sources - Configure the API key via SevenConfiguration[:api_key], ENV['SEVEN_DUMMY_API_KEY'] or ENV['SEVEN_API_KEY'] (in that order)

Prerequisites

Installation

Add the gem to your Gemfile:

gem 'solidus_seven'

Install dependencies and run the install generator:

bundle install
bin/rails generate solidus_seven:install

Configuration

The API key is resolved (in order):

  1. SevenConfiguration[:api_key]
  2. ENV['SEVEN_DUMMY_API_KEY']
  3. ENV['SEVEN_API_KEY']

Set whichever fits your deployment.

Development

Run the test suite

bin/rake

bin/rake defaults to building the dummy Solidus app if it does not exist, then runs specs. Regenerate the dummy app via bin/rake extension:test_app.

For static analysis:

bundle exec rubocop

When testing applications integrating with this gem, load the factories:

require 'solidus_seven/testing_support/factories'

Or, if you use FactoryBot.definition_file_paths, load Solidus core factories together with this extension:

SolidusDevSupport::TestingSupport::Factories.load_for(SolidusSeven::Engine)

Run the sandbox

bin/sandbox boots a sandbox Solidus app under ./sandbox. bin/rails forwards any Rails command to sandbox/bin/rails:

bin/rails server

Support

Need help? Feel free to contact us or open an issue.

License

MIT

About

Send SMS from within solidus via seven

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages