Sha256: 563e29321bc2ec3d2d091f27266729119ba85ee327ec98a30210c35937864653
Contents?: true
Size: 525 Bytes
Versions: 3
Compression:
Stored size: 525 Bytes
Contents
# encoding: utf-8 module Nimbu module Endpoints class Themes::Templates < Endpoint def create(*args) arguments(args, :required => [:theme_id]) post_request("/themes/#{theme_id}/templates", arguments.params) end def delete(*args) arguments(args, :required => [:theme_id, :template_id]) delete_request("/themes/#{theme_id}/templates/#{template_id}", arguments.params) end alias :remove :delete end # Themes::Templates 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/templates.rb |
nimbu-api-0.1.3 | lib/nimbu-api/endpoints/themes/templates.rb |
nimbu-api-0.1.1 | lib/nimbu-api/endpoints/themes/templates.rb |