module PrayerTime

Constants

COUNTRIES

Country names and numbers from Presidency of Religious Affairs

VERSION

Public Class Methods

cities(country) click to toggle source
# File lib/prayer_time.rb, line 9
def self.cities(country)
  Request.new.get_cities(country)
end
countries() click to toggle source
# File lib/prayer_time.rb, line 5
def self.countries
  self::COUNTRIES
end
times(country, city, option = {}) click to toggle source
# File lib/prayer_time.rb, line 17
def self.times(country, city, option = {})
  Request.new.pray_times(country, city, option)
end
towns(country, city) click to toggle source
# File lib/prayer_time.rb, line 13
def self.towns(country, city)
  Request.new.get_towns(country, city)
end