Project

mobilove

0.0
No commit activity in last 3 years
No release in over 3 years
Use mobilove to send text messages with Ruby. Account on mobilant.de required.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

 Project Readme

Mobilove

Mobilove is a simple wrapper to send text messages with Mobilant.

Installation

Install Mobilove like any other Ruby gem:

gem install mobilove

Or, if you're using Rails/Bundler, add this to your Gemfile:

gem "mobilove"

and run at the command prompt:

bundle install

Usage

require "mobilove"

# initialize a new Mobilove Text object with your API_KEY und the route config
mobilove = Mobilove::Text.new(API_KEY, ROUTE, FROM)

# available options:
options = {
  :debug_mode => false, # if true the message will not be send
  :concat     => true  # if true the message will be sent as concatenated texts if it has more than 160 chars (70 unicode)
}

mobilove.send_message("+49123456789", "Hello from Mobilove", options) # sends a regular SMS
mobilove.flash_message("+49123456789", "Hello from Mobilove", options) # sends a flash message

Questions

if you have any questions please open an issue to this project.

Copyright (c) Railslove, released under the MIT license