Class: OrbipayPaymentsapiClient::Class
- Inherits:
-
Object
- Object
- OrbipayPaymentsapiClient::Class
- Defined in:
- lib/orbipay_paymentsapi_client/wrappers/base.rb
Class Method Summary collapse
Class Method Details
.final(klass) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/orbipay_paymentsapi_client/wrappers/base.rb', line 3 def self.final(klass) class << klass def inherited(subclass) error = "Illegal attempt to subclass #{self} with #{subclass} " raise RuntimeError, error end end end |