Skip to content

pelcasandra/phonify-gem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Phonify gem is an easy way to send SMS and verify phone numbers with global coverage from your app.

More info on phonify.io/help.

Installation

Add gem to your Gemfile

gem 'phonify', github: 'pelcasandra/phonify-gem'

Install the gem

bundle install

Usage

Configure your api and business tokens:

# config/initializers/phonify.rb
Phonify.configure do |config|
  config.api_key = 'TOKEN'
  config.business = 'BUSINESS TOKEN'
end

Send message

Phonify.send_message '+14560000000', 'As above, so below.'

Find messages

Single message

Phonify.message '4g_oYIXRP6hRrUO0t9C'

All messages

Phonify.messages

Returns array of messages

Errors

See Phonify API Errors.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages