Sha256: 1f1dea0429e0212f10f0530dfafd176b7bf161f7c9cc1c53f01c76c44a69ca71

Contents?: true

Size: 900 Bytes

Versions: 1

Compression:

Stored size: 900 Bytes

Contents

# GaExampleGem

[![Coverage Status](https://coveralls.io/repos/tibbon/ga-example-gem/badge.png)](https://coveralls.io/r/tibbon/ga-example-gem)

This Gem is just to demonstrate some patterns for creating, documenting and testing a Gem. 

## Installation

Add this line to your application's Gemfile:

    gem 'ga_example_gem'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install ga_example_gem

## Usage

Setup a new instance: 

```ruby
client = GaExampleGem.configure do |config|
	config.api_key = "your_api_key"
end
```


Now make a request for an XKCD comic:

```ruby
	# Returns JSON of the first XKCD comic
	client.get_xkcd(1)
```

## 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
ga_example_gem-0.0.1 README.md