Sha256: 63d39aca2480c309400a3fe745152f2ac1d3bcb18865d42366a49abfad2e42ab

Contents?: true

Size: 374 Bytes

Versions: 1

Compression:

Stored size: 374 Bytes

Contents

#/usr/bin/ruby
require "cgi"
require "base64"
require "openssl"
require "digest/sha1"
require "uri"
require "net/https"
require "xmlsimple"
require "time"

require 'alexa/config'
require 'alexa/url_info'

module Alexa
  def self.url_info(options = {})
    url_info = Alexa::UrlInfo.new(options)
    xml = url_info.connect
    url_info.parse_xml(xml)
    url_info
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alexa-0.1.0 lib/alexa.rb