Sha256: e07173ef03e20917d458b9229a8caae734d4a1ca6dcc76dc53e9a4dfd0556e04

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 Bytes

Contents

require 'rubygems'
require 'xml_magic'
require 'net/http'
require 'cgi'
require 'uri'
require 'open-uri'
require 'mime/types'
require 'digest/md5'
require 'yaml'
require 'time'
require 'date'

# base must load first
[ "base",
  "test",
  "auth",
  "token",
  "photos",
  "photo",
  "photo_response",
  "photosets",
  "photoset",
  "comment",
  "note",
  "size",
  "uploader",
  "status",
  "people",
  "person",
  "license",
  "errors",
  "contacts",
  "contact",
  "geo",
  "location",
  "urls",
  "group" ].each do |file|
  require File.join(File.dirname(__FILE__), 'flickr', file)
end

include CommonThread::XML

class Object
  # returning allows you to pass an object to a block that you can manipulate returning the manipulated object
  def returning(value)
    yield(value)
    value
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rschenk-flickr_fu-0.3.2 lib/flickr_fu.rb