Class: ActiveStorageValidations::ASVCommandable::CommandResult
- Inherits:
-
Struct
- Object
- Struct
- ActiveStorageValidations::ASVCommandable::CommandResult
- Defined in:
- lib/active_storage_validations/shared/asv_commandable.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
-
#stderr ⇒ Object
Returns the value of attribute stderr.
-
#stdout ⇒ Object
Returns the value of attribute stdout.
-
#timed_out ⇒ Object
Returns the value of attribute timed_out.
Instance Method Summary collapse
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status
11 12 13 |
# File 'lib/active_storage_validations/shared/asv_commandable.rb', line 11 def status @status end |
#stderr ⇒ Object
Returns the value of attribute stderr
11 12 13 |
# File 'lib/active_storage_validations/shared/asv_commandable.rb', line 11 def stderr @stderr end |
#stdout ⇒ Object
Returns the value of attribute stdout
11 12 13 |
# File 'lib/active_storage_validations/shared/asv_commandable.rb', line 11 def stdout @stdout end |
#timed_out ⇒ Object
Returns the value of attribute timed_out
11 12 13 |
# File 'lib/active_storage_validations/shared/asv_commandable.rb', line 11 def timed_out @timed_out end |
Instance Method Details
#success? ⇒ Boolean
12 13 14 |
# File 'lib/active_storage_validations/shared/asv_commandable.rb', line 12 def success? !timed_out && status.respond_to?(:success?) && status.success? end |