Class: ConvenientService::Commands::IsServiceClass
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Commands::IsServiceClass
- Defined in:
- lib/convenient_service/commands/is_service_class.rb
Instance Attribute Summary collapse
-
#service_class ⇒ Object
readonly
Returns the value of attribute service_class.
Instance Method Summary collapse
- #call ⇒ Boolean
- #initialize(service_class:) ⇒ void constructor
Methods inherited from Support::Command
Constructor Details
#initialize(service_class:) ⇒ void
16 17 18 |
# File 'lib/convenient_service/commands/is_service_class.rb', line 16 def initialize(service_class:) @service_class = service_class end |
Instance Attribute Details
#service_class ⇒ Object (readonly)
Returns the value of attribute service_class.
10 11 12 |
# File 'lib/convenient_service/commands/is_service_class.rb', line 10 def service_class @service_class end |