Sha256: 497ae2b3bf70c6164dec5aaeaf0a40dc2869cd0fbcd43590be483c6ccfad22b6

Contents?: true

Size: 232 Bytes

Versions: 1

Compression:

Stored size: 232 Bytes

Contents

module Shorty
  # is.gd API as defined http://is.gd/api_info.php
  class Isgd < SimpleAPI
    include HTTParty
    
    API_URL = 'http://is.gd/api.php'
        
    def self.prep_query(url)
      {:longurl => url}
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shorty-0.1.2 lib/shorty/isgd.rb