Sha256: aee20a2ae9982e48ed0264229e01a855f6b5e34433234751f748c73efe360a9f
Contents?: true
Size: 922 Bytes
Versions: 4
Compression:
Stored size: 922 Bytes
Contents
$LOAD_PATH << Dir.pwd module FaaStRuby require 'faastruby/server/errors' require 'faastruby/server/runner_methods' require 'faastruby/server/function_object' require 'faastruby/server/event' require 'faastruby/server/response' require 'faastruby/server/template' ########## # Add call method to the Response class # for backwards compatibility. # This will be removed on v0.6 class Response def call self end end # Add default initialize values to the # Event class for backwards compatibility. # This will be removed on v0.6 class Event def initialize(body: nil, query_params: {}, headers: {}, context: nil) @body = body @query_params = query_params @headers = headers @context = context end end ######### module SpecHelper include FaaStRuby include RunnerMethods def publish(channel, data: nil) true end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
faastruby-0.5.30 | lib/faastruby/spec_helper.rb |
faastruby-0.5.29 | lib/faastruby/spec_helper.rb |
faastruby-0.5.28 | lib/faastruby/spec_helper.rb |
faastruby-0.5.27 | lib/faastruby/spec_helper.rb |