Class: DefraRubyMocks::BaseService
- Inherits:
-
Object
- Object
- DefraRubyMocks::BaseService
- Defined in:
- app/services/defra_ruby_mocks/base_service.rb
Direct Known Subclasses
CompaniesHouseService, GovpayCreatePaymentService, GovpayGetPaymentService, GovpayRefundDetailsService, GovpayRequestRefundService
Class Method Summary collapse
Class Method Details
.run(options = nil) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'app/services/defra_ruby_mocks/base_service.rb', line 5 def self.run( = nil) if && !.is_a?(Hash) new.run() elsif new.run(**) else new.run end end |