Sha256: e800da5213b82a5ef5eaf001c56ca76f29bcdb269a81350eab1922cd2c778156
Contents?: true
Size: 577 Bytes
Versions: 1
Compression:
Stored size: 577 Bytes
Contents
module Voog class API module Layouts # List layouts def layouts(params = {}) paginate 'layouts', {query: params} end # Get a single layout def layout(id, params = {}) get "layouts/#{id}", {query: params} end # Create a layout def create_layout(data) post 'layouts', data end # Update a layout def update_layout(id, data) put "layouts/#{id}", data end # Delete a layout def delete_layout(id) delete "layouts/#{id}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voog_api-0.0.10 | lib/voog_api/api/layouts.rb |