Class: SolidusBolt::BaseService
- Inherits:
-
Object
- Object
- SolidusBolt::BaseService
- Defined in:
- app/services/solidus_bolt/base_service.rb
Direct Known Subclasses
Accounts::AddAddressService, Accounts::AddPaymentMethodService, Accounts::DetailService, Accounts::DetectAccountService, MerchantConfiguration::GetCallbackUrlsService, MerchantConfiguration::SetCallbackUrlsService, Oauth::TokenService, Payments::CaptureSyncService, Payments::CreditSyncService, Payments::VoidSyncService, Transactions::BaseService, Users::RefreshAccessTokenService, Users::SyncAddressesService, Users::SyncPaymentSourcesService, Webhooks::CreateService
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize ⇒ BaseService
constructor
A new instance of BaseService.
Constructor Details
#initialize ⇒ BaseService
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
#call ⇒ Object
9 10 11 |
# File 'app/services/solidus_bolt/base_service.rb', line 9 def call raise NotImplementedError end |