Small library for dlj.bz URL Shortener API
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
dljbz.gemspec

README.md

Dljbz

TODO: Write a gem description

Installation

Add this line to your application's Gemfile:

gem 'dljbz'

And then execute:

$ bundle

Or install it yourself as:

$ gem install dljbz

Usage

  url = Dljbz.shorten('http://51qiangda.com')
  url.short_url
  => "http://dlj.bz/51qd"

Contributing

  1. Fork it ( https://github.com/[my-github-username]/dljbz/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