Class: Phlex::Reactive::Component::Action
- Inherits:
-
Data
- Object
- Data
- Phlex::Reactive::Component::Action
- Defined in:
- lib/phlex/reactive/component.rb
Overview
A declared, client-invokable action and its param schema. params keeps
the RAW declared hash (the readable form callers/specs inspect); schema
is the compiled Phlex::Reactive::ParamSchema (issue #109) the endpoint
coerces through — built ONCE at declaration so a typo'd type symbol
raises Phlex::Reactive::UnknownParamType at class load, not at click time.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#schema ⇒ Object
readonly
Returns the value of attribute schema.
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
76 77 78 |
# File 'lib/phlex/reactive/component.rb', line 76 def name @name end |
#params ⇒ Object (readonly)
Returns the value of attribute params
76 77 78 |
# File 'lib/phlex/reactive/component.rb', line 76 def params @params end |
#schema ⇒ Object (readonly)
Returns the value of attribute schema
76 77 78 |
# File 'lib/phlex/reactive/component.rb', line 76 def schema @schema end |