Sha256: cb5d9f7412a2031b153cf98cb35ea5c8279a1a13f6b77aee4d211dc774af3355

Contents?: true

Size: 405 Bytes

Versions: 4

Compression:

Stored size: 405 Bytes

Contents

json.items do
  json.array! @items do |item|
    json.id item.id.to_s
    json.name item.to_s
    json.partial!( 'wco_email/api/email_filter_actions/index',    items: item.actions )
    json.partial!( 'wco_email/api/email_filter_conditions/index', items: item.conditions )
    json.partial!( 'wco_email/api/email_filter_conditions/index', items: item.skip_conditions, name: 'skip_conditions' )
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wco_email-0.1.1.93 app/views/wco_email/api/email_filters/index.json.jbuilder
wco_email-0.1.1.92 app/views/wco_email/api/email_filters/index.json.jbuilder
wco_email-0.1.1.91 app/views/wco_email/api/email_filters/index.json.jbuilder
wco_email-0.1.1.90 app/views/wco_email/api/email_filters/index.json.jbuilder