14 lines
240 B
Crystal
14 lines
240 B
Crystal
|
require "json"
|
||
|
require "./location.cr"
|
||
|
|
||
|
module Telepathy
|
||
|
class Venue
|
||
|
JSON.mapping(
|
||
|
location: Location,
|
||
|
title: String,
|
||
|
address: String,
|
||
|
foursquare_id: String?
|
||
|
)
|
||
|
end
|
||
|
end
|