Class: Franklin::Availability

Inherits:
Struct
  • Object
show all
Defined in:
lib/franklin/availability.rb

Instance Attribute Summary collapse

Instance Attribute Details

#available_copiesObject

Returns the value of attribute available_copies

Returns:

  • (Object)

    the current value of available_copies



2
3
4
# File 'lib/franklin/availability.rb', line 2

def available_copies
  @available_copies
end

#libraryObject

Returns the value of attribute library

Returns:

  • (Object)

    the current value of library



2
3
4
# File 'lib/franklin/availability.rb', line 2

def library
  @library
end

#total_copiesObject

Returns the value of attribute total_copies

Returns:

  • (Object)

    the current value of total_copies



2
3
4
# File 'lib/franklin/availability.rb', line 2

def total_copies
  @total_copies
end

#wait_list_sizeObject

Returns the value of attribute wait_list_size

Returns:

  • (Object)

    the current value of wait_list_size



2
3
4
# File 'lib/franklin/availability.rb', line 2

def wait_list_size
  @wait_list_size
end