Sha256: f4e6340ed18ddb2423496ffa8957ef08902f53ff7b32e7519b66479026f806ca
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
# Tfl Gem [](https://travis-ci.org/samuelmolinari/tfl) [](http://badge.fury.io/rb/tfl) [](https://codeclimate.com/github/samuelmolinari/tfl) [](https://codeclimate.com/github/samuelmolinari/tfl) ## Installation Add this line to your application's Gemfile: gem 'tfl' And then execute: $ bundle Or install it yourself as: $ gem install tfl ## Usage ### Configure client In order to use the Tfl API, you have to setup your credentials. #### The block way ```ruby client = Tfl::Client.new do |config| config.app_id = "...", config.app_key = "..." end ``` #### The hash way ```ruby credientials = { :app_id => "...", :app_key => "..." } client = Tfl::Client.new(credentials) ``` ## 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 |
---|---|
tfl-0.0.2 | README.md |