NerdTown
quick and dirty HTTP Wrapper around the WoW community API.
Installation
Add this line to your application's Gemfile:
gem 'nerd_town'
And then execute:
$ bundle
Or install it yourself as:
$ gem install nerd_town
Usage
Configure:
NerdTown.configure {|config| config.api_key = 'API KEY'}
Use:
realm = OpenStruct.new(name: 'Anub\'Arak')
guild = NerdTown::Guild.new(realm: realm, name: 'Serenity')
guild_members = guild.members
Contributing
- Fork it ( https://github.com/[my-github-username]/nerd_town/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request