abstract class GCF::CloudFunction

Defined in:

gcf/cloud_function.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.exec #

[View source]

Instance Method Detail

def console : GCF::CloudFunction::Console #

[View source]
def puts(msg) #

[View source]
def redirect(permanent : Bool, url : String) #

[View source]
def redirect(url : String) #

[View source]
abstract def run(params : JSON::Any = JSON.parse("{}")) #

[View source]
def send(status : Int, text) #

[View source]
def send(text) #

[View source]
def send_file(status : Int, path : String) #

[View source]
def send_file(data) #

[View source]