Class: Algo::Runner::Apply::ServiceValidator
- Inherits:
-
Object
- Object
- Algo::Runner::Apply::ServiceValidator
- Defined in:
- lib/algo/runner/apply.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(srv_spec) ⇒ ServiceValidator
constructor
A new instance of ServiceValidator.
- #validate ⇒ Object
Constructor Details
#initialize(srv_spec) ⇒ ServiceValidator
Returns a new instance of ServiceValidator.
6 7 8 |
# File 'lib/algo/runner/apply.rb', line 6 def initialize srv_spec @srv_spec = srv_spec end |
Class Method Details
.validate(srv_spec) ⇒ Object
19 20 21 |
# File 'lib/algo/runner/apply.rb', line 19 def self.validate srv_spec new(srv_spec).validate end |