Instance Configuration - Startappz/prayer_times GitHub Wiki

As per the global configuration, a one can create an instance of the PrayerTimes and have it's one configuration:

PrayerTimes.new "Makkah", {
    times_names: {
        #....
    },
    iterations_count: 3,
    time_format: '12h',
    time_suffixes: {:am => 'صباحا', :pm => 'مساءا'},
    times_offsets: {
        #....
    },
    invalid_time: "INVALID"
}