Created
May 4, 2013 16:15
-
-
Save sue445/5517961 to your computer and use it in GitHub Desktop.
GAErminal上でappengineのproduction環境のAPIバージョンを取得してみた
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.slim3.util.ServletContextLocator | |
def servletContext = ServletContextLocator.get() | |
def serverInfo = servletContext.serverInfo | |
println serverInfo // => Google App Engine/Google App Engine/1.8.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment