Module: ApiClient::Mixins::Inheritance
- Included in:
- Base
- Defined in:
- lib/api_client/mixins/inheritance.rb
Instance Method Summary collapse
Instance Method Details
#inherited(subclass) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/api_client/mixins/inheritance.rb', line 7 def inherited(subclass) subclass.default_scopes = self.default_scopes.dup subclass.connection_hooks = self.connection_hooks.dup subclass.namespace self.namespace subclass.format self.format end |