Skip to content

Installation

Md. Mazharul islam Mithu edited this page May 4, 2017 · 5 revisions

Installation

Ruby version (as tested) required 2.4.0+

Add this line to your application's Gemfile:

gem 'check_mobi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install check_mobi

If you are using Rails

Then put it in config/initializers/check_mobi.rb

CheckMobi.configure do |config|
  config.api_key = 'xxxx-xxxx-xxxx-xxxx'
end

If you are not using Rails

  require 'check_mobi'
  CheckMobi.api_key = 'xxxx-xxxx-xxxx-xxxx'

in any where in your project.

Yay!! You are good to go.

Clone this wiki locally