Class: SBF::Client::Person::Occupation::MilitaryDetails

Inherits:
BaseEntity
  • Object
show all
Defined in:
lib/stbaldricks/entities/person.rb

Constant Summary

Constants inherited from BaseEntity

BaseEntity::ELSE

Instance Attribute Summary collapse

Attributes inherited from BaseEntity

#errors

Method Summary

Methods inherited from BaseEntity

#add_errors, allow_instantiation?, attr_accessor, attr_reader, attr_writer, attributes, #attributes=, collection_attributes, entity_attr_accessor, entity_attr_reader, entity_attr_writer, entity_attributes, entity_collection_attr_accessor, entity_collection_attr_reader, entity_collection_attr_writer, inherited, #initialize, #model_name, multitype_attr_accessor, multitype_attr_reader, multitype_attr_writer, multitype_collection_attr_accessor, multitype_collection_attr_reader, multitype_collection_attr_writer, #not_provided_attributes, optional_attributes, #persisted?, #to_hash, #to_json

Constructor Details

This class inherits a constructor from SBF::Client::BaseEntity

Instance Attribute Details

#branchObject

Returns the value of attribute branch.



323
324
325
# File 'lib/stbaldricks/entities/person.rb', line 323

def branch
  @branch
end

#statusObject

Returns the value of attribute status.



323
324
325
# File 'lib/stbaldricks/entities/person.rb', line 323

def status
  @status
end

#unitObject

Returns the value of attribute unit.



323
324
325
# File 'lib/stbaldricks/entities/person.rb', line 323

def unit
  @unit
end