Sha256: 35f2d2fbf05c6e123473efe4a3b2dd3c84b3a9e8a49946929b84fff088543956

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 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 auth token photos photo photo_response comment note size uploader status people person).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.4 lib/flickr_fu.rb