Sha256: 0206aa10c51d285ea9bfe271584942c36fe01b2a68f00c79fad4e0efd826c32e

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require "unicafe/version"
require "unicafe/price_parser"
require "unicafe/lunch"
require "unicafe/restaurant"
require "geocoder"

module Unicafe

  def self.get_restaurant name
    ::Unicafe::Restaurant.find_by_name name
  end

  def self.nearest(latitude, longitude)
    ::Unicafe::Restaurant.nearest(latitude, longitude)
  end

  def self.distances(latitude, longitude)
    ::Unicafe::Restaurant.distances(latitude, longitude)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unicafe-0.0.3 lib/unicafe.rb