module NgpVan::Client::Stories

Public Instance Methods

create_story(body: {}) click to toggle source
# File lib/ngp_van/client/stories.rb, line 6
def create_story(body: {})
  post(path: 'stories', body: body)
end
story(id:) click to toggle source
# File lib/ngp_van/client/stories.rb, line 10
def story(id:)
  verify_id(id)
  get(path: "stories/#{id}")
end