Class: ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Validator::Commands::ValidateResult
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::RSpec::Matchers::Classes::Results::Base::Entities::Validator::Commands::ValidateResult
- Includes:
- Support::Delegate
- Defined in:
- lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb
Instance Attribute Summary collapse
- #validator ⇒ Object readonly private
Instance Method Summary collapse
- #call ⇒ Boolean private
- #initialize(validator:) ⇒ void constructor private
- #valid_result_code? ⇒ Boolean private
- #valid_result_data? ⇒ Boolean private
- #valid_result_message? ⇒ Boolean private
- #valid_result_service? ⇒ Boolean private
- #valid_result_status? ⇒ Boolean private
- #valid_result_step? ⇒ Boolean private
- #valid_result_type? ⇒ Boolean private
Methods included from Support::Concern
Methods inherited from Support::Command
Constructor Details
#initialize(validator:) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
78 79 80 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 78 def initialize(validator:) @validator = validator end |
Instance Attribute Details
#validator ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
21 22 23 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 21 def validator @validator end |
Instance Method Details
#call ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
88 89 90 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 88 def call validations.all?(true) end |
#valid_result_code? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
70 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 70 delegate :valid_result_code?, to: :validator |
#valid_result_data? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
56 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 56 delegate :valid_result_data?, to: :validator |
#valid_result_message? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
63 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 63 delegate :valid_result_message?, to: :validator |
#valid_result_service? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
42 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 42 delegate :valid_result_service?, to: :validator |
#valid_result_status? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
35 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 35 delegate :valid_result_status?, to: :validator |
#valid_result_step? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
49 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 49 delegate :valid_result_step?, to: :validator |
#valid_result_type? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
28 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 28 delegate :valid_result_type?, to: :validator |