Class: Crawlberg::ActionResult
- Inherits:
-
Object
- Object
- Crawlberg::ActionResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#action_index ⇒ Integer
readonly
Returns the value of attribute action_index.
-
#action_type ⇒ String
readonly
Returns the value of attribute action_type.
-
#data ⇒ String?
readonly
Returns the value of attribute data.
-
#error ⇒ String?
readonly
Returns the value of attribute error.
-
#success ⇒ Boolean
readonly
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.
19 |
# File 'sig/types.rbs', line 19
def initialize: (?action_index: Integer, ?action_type: String, ?success: bool, ?data: String, ?error: String) -> void
|
Instance Attribute Details
#action_index ⇒ Integer (readonly)
Returns the value of attribute action_index.
13 14 15 |
# File 'sig/types.rbs', line 13 def action_index @action_index end |
#action_type ⇒ String (readonly)
Returns the value of attribute action_type.
14 15 16 |
# File 'sig/types.rbs', line 14 def action_type @action_type end |
#data ⇒ String? (readonly)
Returns the value of attribute data.
16 17 18 |
# File 'sig/types.rbs', line 16 def data @data end |
#error ⇒ String? (readonly)
Returns the value of attribute error.
17 18 19 |
# File 'sig/types.rbs', line 17 def error @error end |
#success ⇒ Boolean (readonly)
Returns the value of attribute success.
15 16 17 |
# File 'sig/types.rbs', line 15 def success @success end |