Class: Crawlberg::ActionResult
- Inherits:
-
Object
- Object
- Crawlberg::ActionResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#action_index ⇒ Integer?
Returns the value of attribute action_index.
-
#action_type ⇒ String?
Returns the value of attribute action_type.
-
#data ⇒ json_value?
Returns the value of attribute data.
-
#error ⇒ String?
Returns the value of attribute error.
-
#success ⇒ Boolean?
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize ⇒ ActionResult
constructor
A new instance of ActionResult.
Constructor Details
#initialize ⇒ ActionResult
Returns a new instance of ActionResult.
147 |
# File 'sig/types.rbs', line 147
def initialize: (?action_index: Integer, ?action_type: String, ?success: bool, ?data: json_value, ?error: String) -> void
|
Instance Attribute Details
#action_index ⇒ Integer?
Returns the value of attribute action_index.
141 142 143 |
# File 'sig/types.rbs', line 141 def action_index @action_index end |
#action_type ⇒ String?
Returns the value of attribute action_type.
142 143 144 |
# File 'sig/types.rbs', line 142 def action_type @action_type end |
#data ⇒ json_value?
Returns the value of attribute data.
144 145 146 |
# File 'sig/types.rbs', line 144 def data @data end |
#error ⇒ String?
Returns the value of attribute error.
145 146 147 |
# File 'sig/types.rbs', line 145 def error @error end |
#success ⇒ Boolean?
Returns the value of attribute success.
143 144 145 |
# File 'sig/types.rbs', line 143 def success @success end |