Method: Blueprinter::Base.exclude
- Defined in:
- lib/blueprinter/base.rb
.exclude(field_name) ⇒ Array<Symbol>
Exclude a field that was mixed into the current view.
381 382 383 |
# File 'lib/blueprinter/base.rb', line 381 def self.exclude(field_name) current_view.exclude_field(field_name) end |