Class: Borges::ActionCallback

# Borges::ActionCallback (Class)

In: | lib/Borges/Callback/ActionCallback.rb
Parent: | Object

Borges::ActionCallback is used by Borges::CallbackStore and Borges::HtmlRenderer to provide an callback that will be run when the form has completed processing.

CallbackStore enforces that only one ActionCallback will be called.

## Methods

action_callback? evaluate new

## Public Class methods

new(&block)

Creates a new ActionCallback from `block`.

## Public Instance methods

action_callback?()

Is this an ActionCallback?

evaluate(input, store)

Sets this callback as `store`’s default action.

[Validate]