class Gillbus::V2::Responses::TripSeats

Public Instance Methods

seat_maps() click to toggle source
# File lib/gillbus/v2/responses/trip_seats.rb, line 4
def seat_maps
  @seat_maps ||=
    (json_body["maps_seat"] || []).map do |item|
      Structs::SegmentSeatMap.from_raw_data(item)
    end
end