Method: Mints::Pub#get_story

Defined in:
lib/pub.rb

#get_story(slug, options = nil) ⇒ Object

Get Story.

Get a single story.

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



149
150
151
# File 'lib/pub.rb', line 149

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