lib/flickr/base.rb in flickr-fu-0.1.3 vs lib/flickr/base.rb in flickr-fu-0.1.4

- old
+ new

@@ -77,14 +77,18 @@ # * authorize (Optional) # boolean value to determine if the call with include an auth_token (Defaults to true) # def sign_request(options, authorize = true) options.merge!(:auth_token => self.auth.token(false).to_s) if authorize and self.auth.token(false) + options.delete(:api_sig) options.merge!(:api_sig => Digest::MD5.hexdigest(@api_secret + options.keys.sort_by{|k| k.to_s}.collect{|k| k.to_s + options[k].to_s}.join)) if @api_secret end # creates and/or returns the Flickr::Photos object def photos() @photos ||= Photos.new(self) end + + # creates and/or returns the Flickr::People object + def people() @people ||= People.new(self) end # creates and/or returns the Flickr::Auth object def auth() @auth ||= Auth.new(self) end # creates and/or returns the Flickr::Uploader object \ No newline at end of file