Sha256: 45d020e4436e0f10a0fdbdbb8cb1bbda783b3a112f2188f8d6afb5dcebaf1c7b

Contents?: true

Size: 928 Bytes

Versions: 1

Compression:

Stored size: 928 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" ].each do |file|
  require File.join(File.dirname(__FILE__), 'flickr', file)
end

include CommonThread::XML

# Rails' ActiveSupport also contains this, we don't want to override it in that case.
unless defined?(Object::returning)
  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
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tomk32-flickr_fu-0.3.0 lib/flickr_fu.rb