Class: Location

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
api/app/models/location.rb

Overview

A place people come to participate in a SensoryTest

Schema

  • [Integer] company_id, null: false
  • [String] name
  • [String] address
  • [String] city
  • [String] zip
  • [String] state
  • [DateTime] created_at
  • [DateTime] updated_at
  • [String] slug
  • [Float] latitude
  • [Float] longitude
  • [String] timezone_id
  • [Boolean] using_checkin, default: false
  • [Boolean] using_console, default: true
  • [String] language, limit: 5
  • [Integer] exposure, default: 0
  • [Text] description
  • [String] phone_number
  • [Integer] seats
  • [String] email
  • [String] phone_country_code
  • [String] phone_area_code
  • [Text] keywords
  • [String] title, null: false
  • [Integer] event_selection, null: false

Instance Method Summary collapse

Instance Method Details

#allow_reservation_conflictsObject

#events_for_range(start_time, end_time) ⇒ Object

#full_addressObject

#update_event_titlesObject