Over a million developers have joined DZone.

Correct Ruby Example With Google Data APIs

DZone's Guide to

Correct Ruby Example With Google Data APIs

· ·
Free Resource
One of examples in the article does not work. It is an example for listFeed and calls get_feed function which is defined in the previous code. It needs use_ssl as follows

def get_feed_ssl(uri,headers=nil)
  uri = URI.parse(uri)
  http = Net::HTTP.new(uri.host,uri.port)
  return http.get(uri.path,headers)
response = get_feed_ssl(listfeed_uri, headers)

Ruby 1.9.2-p180

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}