Sha256: 3d99ebebe3e88829766b9ee5650c41bb4cfcef9e9b5a6ee892b01b97cac0d15d
Contents?: true
Size: 513 Bytes
Versions: 3
Compression:
Stored size: 513 Bytes
Contents
# encoding: utf-8 module Nimbu module Endpoints class Themes::Layouts < Endpoint def create(*args) arguments(args, :required => [:theme_id]) post_request("/themes/#{theme_id}/layouts", arguments.params) end def delete(*args) arguments(args, :required => [:theme_id, :layout_id]) delete_request("/themes/#{theme_id}/layouts/#{layout_id}", arguments.params) end alias :remove :delete end # Themes::Layouts end # Endpoints end # Nimbu
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nimbu-api-0.1.4 | lib/nimbu-api/endpoints/themes/layouts.rb |
nimbu-api-0.1.3 | lib/nimbu-api/endpoints/themes/layouts.rb |
nimbu-api-0.1.1 | lib/nimbu-api/endpoints/themes/layouts.rb |