Sha256: 0b839d3c47b4335c653e4369647a31efb73c4bc4bc583d17f7dc1a21cad02a3e
Contents?: true
Size: 468 Bytes
Versions: 1
Compression:
Stored size: 468 Bytes
Contents
module Pwb class Api::V1::WebContentResource < JSONAPI::Resource model_name 'Pwb::Content' attributes :key, :tag attributes :raw_fr, :raw_de, :raw_ru, :raw_pt attributes :raw_it, :raw_tr, :raw_nl, :raw_vi attributes :raw_ar, :raw_ca, :raw_pl, :raw_ro attributes :raw_es, :raw_en, :content_photos # /api/v1/web-contents?filter%5Btag%5D=home&filter%5Bkey%5D=tagLine # below is needed for above to work filters :tag, :key end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pwb-1.4.0 | app/resources/pwb/api/v1/web_content_resource.rb |