Class: Puree::Model::Identifier

Inherits:
Structure show all
Defined in:
lib/puree/model/identifier.rb

Overview

An identifier.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Structure

#data?

Instance Attribute Details

#idString?

Returns:

  • (String, nil)


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

def id
  @id
end

#typeString?

Returns:

  • (String, nil)


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

def type
  @type
end