Module: SiriRootObject

Defined in:
lib/siri_objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ace_idObject

Returns the value of attribute ace_id.



69
70
71
# File 'lib/siri_objects.rb', line 69

def ace_id
  @ace_id
end

#ref_idObject

Returns the value of attribute ref_id.



69
70
71
# File 'lib/siri_objects.rb', line 69

def ref_id
  @ref_id
end

Instance Method Details

#random_ace_idObject



75
76
77
# File 'lib/siri_objects.rb', line 75

def random_ace_id
  UUIDTools::UUID.random_create.to_s
end

#random_ref_idObject



71
72
73
# File 'lib/siri_objects.rb', line 71

def random_ref_id
  UUIDTools::UUID.random_create.to_s.upcase
end