Method: Mints::Pub#get_content_instance

Defined in:
lib/pub.rb

#get_content_instance(slug, options = nil) ⇒ Object

Get Content Instance.

Get a single content instance.

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



128
129
130
# File 'lib/pub.rb', line 128

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