Class: Puree::Model::Event

Inherits:
Resource show all
Defined in:
lib/puree/model/event.rb

Overview

An organised event.

Instance Attribute Summary collapse

Attributes inherited from Resource

#created, #locale, #modified, #uuid

Instance Attribute Details

#cityString?

Returns:

  • (String, nil)


9
10
11
# File 'lib/puree/model/event.rb', line 9

def city
  @city
end

#countryString?

Returns:

  • (String, nil)


12
13
14
# File 'lib/puree/model/event.rb', line 12

def country
  @country
end

#datePuree::Model::TemporalRange?

Returns:



15
16
17
# File 'lib/puree/model/event.rb', line 15

def date
  @date
end

#descriptionString?

Returns:

  • (String, nil)


18
19
20
# File 'lib/puree/model/event.rb', line 18

def description
  @description
end

#locationString?

Returns:

  • (String, nil)


21
22
23
# File 'lib/puree/model/event.rb', line 21

def location
  @location
end

#titleString?

Returns:

  • (String, nil)


24
25
26
# File 'lib/puree/model/event.rb', line 24

def title
  @title
end

#typeString?

Returns:

  • (String, nil)


27
28
29
# File 'lib/puree/model/event.rb', line 27

def type
  @type
end