Sha256: b5a11c0b6692e52a225bee7160785387721eddf7fbfd66269045815a7380c0b4
Contents?: true
Size: 589 Bytes
Versions: 12
Compression:
Stored size: 589 Bytes
Contents
Coprl::Presenters.define(:updates_action) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :events_drawer indented_grid do heading 'Updates' body 'Issues a PUT to a given url', 'Generally used to update a restful resource.' body '*Note: Will generate a 404.*' title 'Updates' body 'issues a PUT to the passed path' content do button 'updates' do event :click do # This goes nowhere updates 'updatepath', {optional: :params} end end end end attach :code, file: __FILE__ end
Version data entries
12 entries across 12 versions & 1 rubygems