lib/yummly.rb in yummly-0.0.1 vs lib/yummly.rb in yummly-0.0.2

- old
+ new

@@ -1,6 +1,7 @@ require "yummly/api" +require "yummly/connection" require "yummly/configuration" require "yummly/flavor" require "yummly/image" require "yummly/nutrition_estimate" require "yummly/recipe" @@ -18,8 +19,16 @@ def configure configuration = Yummly::Configuration.new yield(configuration) self.configuration = configuration + end + + def search(terms, params = {}) + Yummly::Api.search(terms, params) + end + + def find(recipe_id) + Yummly::Api.find(recipe_id) end end end