Sha256: 4bd84209b59aef5f8bcb7e4d59d8918e7b462f0dc258b14b6d2b524018eb2f1c
Contents?: true
Size: 891 Bytes
Versions: 1
Compression:
Stored size: 891 Bytes
Contents
# Apple Models [![Build Status](https://travis-ci.org/tboyko/apple_models.png?branch=master)](http://travis-ci.org/tboyko/apple_models) Retrieve the model name of an Apple product based on the model id. __Note:__ the model id is also referred to as the product code and the product id. __Special Note:__ At this time, only iOS product lookups are available. Feel free to fork and expand the hash! ## Installation Add this line to your application's Gemfile: gem 'apple_models' And then execute: $ bundle Or install it yourself as: $ gem install apple_models ## Usage ```ruby AppleModels.find('iPad2,7') # returns "iPad Mini" ``` ## Contributing 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 new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
apple_models-1.0.0 | README.md |