Class: Decouplio::OctoOptionsValidator
- Inherits:
-
Object
- Object
- Decouplio::OctoOptionsValidator
- Defined in:
- lib/decouplio/octo_options_validator.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options:) ⇒ OctoOptionsValidator
constructor
A new instance of OctoOptionsValidator.
Constructor Details
#initialize(options:) ⇒ OctoOptionsValidator
Returns a new instance of OctoOptionsValidator.
11 12 13 |
# File 'lib/decouplio/octo_options_validator.rb', line 11 def initialize(options:) @options = end |
Class Method Details
.call(options:) ⇒ Object
7 8 9 |
# File 'lib/decouplio/octo_options_validator.rb', line 7 def self.call(options:) new(options: ).call end |
Instance Method Details
#call ⇒ Object
15 16 17 18 |
# File 'lib/decouplio/octo_options_validator.rb', line 15 def call validate_option_keys validate_option_count end |