Alexandria::Application.configure do
  # This file contains configuration options for the Alexandria library itself.
  # Be sure to restart your server when you modify this file.

  # The time before a reservation expires.
  config.reservation_period = 1.week

  # The time before a checkout is due.
  config.checkout_period = 1.week

  # The time before a checkout is due when an email warning should be sent to the
  # appropriate patron.
  config.remind_before = 3.days

  # The number of strikes a user must have to be automatically banned.
  #
  # TODO: Start using this setting in the application.
  config.strikes_for_ban = 3

  # The configuration of shelves in the physical library. Only the first and last
  # book codes of each shelf need to be stored here.
  #
  # TODO: Replace this with an Array of Ranges of Strings. Each Range should
  # represent the first and last book codes for the given shelf.
  #
  # TODO: Start using this setting in the application.
  config.shelves = []
end

# A Struct for conveniently storing individual shelves for the shelves setting.
Shelf = Struct.new(:begin, :end)

Alexandria::Application.configure do
  # This file contains configuration options for the Alexandria library itself.
  # Be sure to restart your server when you modify this file.

  # The time before a reservation expires.
  config.reservation_period = 1.week

  # The time before a checkout is due.
  config.checkout_period = 1.week

  # The time before a checkout is due when an email warning should be sent to the
  # appropriate patron.
  config.remind_before = 3.days

  # The number of strikes a user must have to be automatically banned.
  #
  # TODO: Start using this setting in the application.
  config.strikes_for_ban = 3

  # The configuration of shelves in the physical library. Only the first and last
  # book codes of each shelf need to be stored here.
  #
  # TODO: Replace this with an Array of Ranges of Strings. Each Range should
  # represent the first and last book codes for the given shelf.
  #
  # TODO: Start using this setting in the application.
  config.shelves = []
end

Set up a Struct for storing shelf information
Set up a Struct for storing shelf information
