Class: SolidusBolt::BaseService

Inherits:
Object
  • Object
show all
Defined in:
app/services/solidus_bolt/base_service.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBaseService

Returns a new instance of BaseService.



5
6
7
# File 'app/services/solidus_bolt/base_service.rb', line 5

def initialize(*)
  @config = SolidusBolt::BoltConfiguration.fetch
end

Class Method Details

.call(*args, **kwargs, &block) ⇒ Object



13
14
15
# File 'app/services/solidus_bolt/base_service.rb', line 13

def self.call(*args, **kwargs, &block)
  new(*args, **kwargs, &block).call
end

Instance Method Details

#callObject

Raises:

  • (NotImplementedError)


9
10
11
# File 'app/services/solidus_bolt/base_service.rb', line 9

def call
  raise NotImplementedError
end