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.
155 |
# File 'sig/types.rbs', line 155
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.
149 150 151 |
# File 'sig/types.rbs', line 149 def action_index @action_index end |
#action_type ⇒ String?
Returns the value of attribute action_type.
150 151 152 |
# File 'sig/types.rbs', line 150 def action_type @action_type end |
#data ⇒ json_value?
Returns the value of attribute data.
152 153 154 |
# File 'sig/types.rbs', line 152 def data @data end |
#error ⇒ String?
Returns the value of attribute error.
153 154 155 |
# File 'sig/types.rbs', line 153 def error @error end |
#success ⇒ Boolean?
Returns the value of attribute success.
151 152 153 |
# File 'sig/types.rbs', line 151 def success @success end |