Class: Puree::Model::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/puree/model/resource.rb

Overview

A resource.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime?

Returns:

  • (Time, nil)


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

def created_at
  @created_at
end

#created_byString?

Returns:

  • (String, nil)


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

def created_by
  @created_by
end

#idString?

Returns:

  • (String, nil)


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

def id
  @id
end

#modified_atTime?

Returns:

  • (Time, nil)


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

def modified_at
  @modified_at
end

#modified_byString?

Returns:

  • (String, nil)


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

def modified_by
  @modified_by
end

#previous_uuidsArray<String>

Returns:

  • (Array<String>)


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

def previous_uuids
  @previous_uuids
end

#uuidString?

Returns:

  • (String, nil)


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

def uuid
  @uuid
end