Sha256: c294a49ec64a8480c6619775e410a9609974a17ba08f2d3d68b1b837af09b8fb

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

require 'rubygems'
require 'xml_magic'
require 'net/http'
require 'cgi'
require 'uri'
require 'mime/types'
require 'digest/md5'
require 'yaml'

# base must load first
%w(base auth token photos photo photo_response comment note size uploader).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
flickr-fu-0.1.3 lib/flickr_fu.rb