Module: Pageflow::SerializationBlacklist Private

Included in:
Account, Entry
Defined in:
app/models/concerns/pageflow/serialization_blacklist.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#serializable_hash(options = nil) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



4
5
6
7
8
9
10
11
# File 'app/models/concerns/pageflow/serialization_blacklist.rb', line 4

def serializable_hash(options = nil)
  options ||= {}

  options[:except] = Array(options[:except])
  options[:except].concat(blacklist_for_serialization)

  super(options)
end