[wiki.appengine-jruby] push by - Edited wiki page UsingTheImagesService through web user interface. on 2010-12-01 13:10 GMT

0 views
Skip to first unread message

appengi...@googlecode.com

unread,
Dec 1, 2010, 8:10:38 AM12/1/10
to appengine-j...@googlegroups.com
Revision: 0ffb9091a0
Author: necrodome
Date: Wed Dec 1 05:10:03 2010
Log: Edited wiki page UsingTheImagesService through web user interface.
http://code.google.com/p/appengine-jruby/source/detail?repo=wiki&r=0ffb9091a0

Modified:
/UsingTheImagesService.wiki

=======================================
--- /UsingTheImagesService.wiki Thu Dec 10 21:18:53 2009
+++ /UsingTheImagesService.wiki Wed Dec 1 05:10:03 2010
@@ -57,7 +57,7 @@
require 'sinatra'
require 'appengine-apis/images'

-module Appengine
+module AppEngine
module Images
class Image
def scale(factor)
@@ -101,7 +101,7 @@
end

get '/image' do
- image = Appengine::Images.open('public/gae.jpg')
+ image = AppEngine::Images.open('public/gae.jpg')

# apply the string of transforms if available, remembering to remove the
leading dot
image = image.instance_eval(session['transforms'][1..-1]) unless
session['transforms'].empty?

Reply all
Reply to author
Forward
0 new messages