Sha256: 9a89ac692ad5250ef04f741e209f5c18017f82ba2503e3c81890a24aa923b453

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

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

# base must load first
%w(base test auth token photos photo photo_response comment note size uploader status people person license errors).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

2 entries across 2 versions & 1 rubygems

Version Path
commonthread-flickr_fu-0.2.0 lib/flickr_fu.rb
commonthread-flickr_fu-0.2.1 lib/flickr_fu.rb