Skip to content
SimpleMDM Ruby bindings
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin remove DS_Store files Jul 1, 2016
lib Updated Dependencies Oct 6, 2017
.gitignore remove DS_Store files Jul 1, 2016 updated changelog and readme Oct 6, 2017 WIP Oct 20, 2015
Gemfile doc update Oct 20, 2015
LICENSE.txt WIP Oct 20, 2015 updated changelog and readme Oct 6, 2017
Rakefile WIP Oct 20, 2015
simplemdm.gemspec Updated Dependencies Oct 6, 2017

Please Note: This library is not officially supported nor maintained. It does not currently wrap the complete functionality of the SimpleMDM API. For a current listing of API functionality, please refer to the SimpleMDM documentation at

Related Projects

SimpleMDM Ruby bindings

This is a lightweight SDK that acts as a launching point for integrating ruby-based applications with SimpleMDM. The native API is a RESTful JSON implementation. These bindings wrap the API.


Add this line to your application's Gemfile:

gem 'simplemdm'

And then execute:

$ bundle

Or install it yourself as:

$ gem install simplemdm


Full documentation is available here:

require 'simplemdm'

# provide your api key for access

SimpleMDM::api_key = 'j75m8YtUGEaEO5TysjzAXihE07nKoUm9'

# lock a device

device = SimpleMDM::Device.find(23)
device.lock message:      "This device has been locked. Please call the number provided.",
		    phone_number: "5035555847"

# upload an enterprise app and deploy it to a group of devices

data ='surfreport2.2.ipa')
app  = name:   "Surf Report",
                          binary: data

app_group = SimpleMDM::AppGroup.find(37)


After checking out the repo, run bin/setup to install dependencies. Then, run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release to create a git tag for the version, push git commits and tags, and push the .gem file to


  1. Fork it ( )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
You can’t perform that action at this time.