Sha256: cf22cefe7d466bd1430e51f653b52b8c0cb3c5858eef5634fe5233bd733f794f

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

require './lib/marver.rb'

module Marver
  class StoryFinder
    def find(conditions = {})
      response = Marver::API::Client.new.get(:stories, conditions)
      results = Marver::DataContainer.new(response).results
      Marver::Story.build(results)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marver-0.0.6 lib/marver/finders/story_finder.rb