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_at, #created_by, #id, #modified_at, #modified_by, #previous_uuids, #uuid

Instance Attribute Details

#cityString?

Returns:

  • (String, nil)


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

def city
  @city
end

#datePuree::Model::TemporalRange?

Returns:



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

def date
  @date
end

#titleString?

Returns:

  • (String, nil)


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

def title
  @title
end

#typeString?

Returns:

  • (String, nil)


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

def type
  @type
end