Sha256: fb8fb52b07f5a3a4965551c6fef4883a66ff0810a1064910d8152e9d4574da95
Contents?: true
Size: 690 Bytes
Versions: 9
Compression:
Stored size: 690 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 get(*args) arguments(args, :required => [:theme_id, :layout_id]) get_request("/themes/#{theme_id}/layouts/#{layout_id}", 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
9 entries across 9 versions & 1 rubygems