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_original_service? ⇒ 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::Delegate::ClassMethodsForForwardable
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.
90 91 92 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 90 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.
26 27 28 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 26 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.
100 101 102 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 100 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.
82 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 82 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.
68 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 68 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.
75 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 75 delegate :valid_result_message?, to: :validator |
#valid_result_original_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.
54 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 54 delegate :valid_result_original_service?, 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.
47 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 47 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.
40 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 40 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.
61 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 61 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.
33 |
# File 'lib/convenient_service/rspec/matchers/classes/results/base/entities/validator/commands/validate_result.rb', line 33 delegate :valid_result_type?, to: :validator |