Module: SimpleAPIFieldControl
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/simple-api-field-control.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#serializable_hash(options = nil) ⇒ Object
11 12 13 14 |
# File 'lib/simple-api-field-control.rb', line 11 def serializable_hash( = nil) = { methods: self.class.api_include_fields, except: api_exclude_fields }.merge( || {}) super() end |