class ServiceStack::Function
Constants
- Error
Attributes
input[R]
options[R]
Public Class Methods
new(input, options = {})
click to toggle source
# File lib/service_stack/function.rb, line 18 def initialize(input, options = {}) @input = input @options = (options.is_a?(Hash) ? options.dup : {}).freeze end
perform(input, options = {})
click to toggle source
# File lib/service_stack/function.rb, line 14 def self.perform(input, options = {}) new(input, options).call end
Public Instance Methods
call()
click to toggle source
# File lib/service_stack/function.rb, line 23 def call raise "#call not implemented in #{self.class}" end