Class: Edoxen::PhysicalVenue

Inherits:
Venue
  • Object
show all
Defined in:
lib/edoxen/physical_venue.rb,
sig/edoxen.rbs

Overview

PhysicalVenue — type marker for a Venue with kind == "physical".

The wire format is flat on Venue (all fields live there). This subclass exists for type-checking and to host physical-only helpers so callers can ask venue.is_a?(PhysicalVenue) and validators can dispatch by type.

Instance Attribute Summary

Attributes inherited from Venue

#access_notes, #address, #building, #capacity, #city, #country_code, #description, #dial_in_numbers, #features, #floor, #iata_code, #kind, #label, #lat, #lon, #meeting_id, #name, #passcode, #registration_required, #room, #unlocode, #uri, #url, #waiting_room

Instance Method Summary collapse

Methods inherited from Venue

#features_list, #iata_entry, #physical?, #unlocode_entry, #virtual?

Constructor Details

#initialize(attributes = {}) ⇒ PhysicalVenue

Returns a new instance of PhysicalVenue.



11
12
13
# File 'lib/edoxen/physical_venue.rb', line 11

def initialize(attributes = {})
  super(attributes.merge(kind: "physical"))
end