Sha256: 62c8d7b9b096335f448f174b736f56f7155bce291180ae85f6b6e593f488130e
Contents?: true
Size: 535 Bytes
Versions: 12
Compression:
Stored size: 535 Bytes
Contents
# encoding: utf-8 module Nimbu module Endpoints class Themes::Assets < Endpoint def create(*args) arguments(args, :required => [:theme_id]) post_request("/themes/#{theme_id}/assets", arguments.params, :with_attachments => true) end def delete(*args) arguments(args, :required => [:theme_id, :asset_id]) delete_request("/themes/#{theme_id}/assets/#{asset_id}", arguments.params) end alias :remove :delete end # Themes::Layouts end # Endpoints end # Nimbu
Version data entries
12 entries across 12 versions & 1 rubygems