Sha256: 4e90b6da8cbace9995dcd090c37908d0a13b9c218874a777e57100dd855f25ca

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

# PhoneGap::Build

A simple Ruby api client for PhoneGap Build.

I made this as the only other Ruby gem didn't work.

Selfishly I have/will only include the api calls that I require.

If people start using it or pull requests come in then we'll see what happens.

## Installation

Add this line to your application's Gemfile:

    gem 'phone_gap-build'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install phone_gap-build

## Usage

    require 'phone_gap/build'

    PhoneGap::Build.credentials(token: 'my_api_token')

    apps = PhoneGap::Build.apps

    # get the app you're interested in

    app = apps.first

    app.description = 'Fancy Pants App'

    app.save (#save will update an existing app)

    # create a new app

    app = PhoneGap::Build::App.new

    # add any required values (see http://docs.build.phonegap.com/en_US/3.3.0/developer_api_api.md.html#PhoneGap%20Build%20Developer%20API)

    app.save (#save create a new app)

    # delete it!

    app.destroy

## Contributing

1. Fork it ( https://github.com/sebglazebrook/phone_gap-build/fork )
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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phone_gap-build-0.3.0 README.md
phone_gap-build-0.2.0 README.md