Method: Mints::Pub#get_content_template

Defined in:
lib/pub.rb

#get_content_template(slug, options = nil) ⇒ Object

Get Content Template.

Get a single content template.

Parameters

  • slug - [String] It’s the string identifier generated by Mints

  • options - [Hash] List of Single Resource Options shown above can be used as parameter



107
108
109
# File 'lib/pub.rb', line 107

def get_content_template(slug, options = nil)
  return @client.raw("get", "/content/content-templates/#{slug}", options)
end