Class: EMIS::Models::EligibilityDeploymentLocation

Inherits:
Object
  • Object
show all
Defined in:
lib/emis/models/eligibility_deployment_location.rb

Overview

EMIS Eligibility Deployment Location data

Instance Attribute Summary collapse

Instance Attribute Details

#country_codeString

Returns ISO alpha2 country code that represents the country of the person’s location. The valid values also include dependencies and areas of special sovereignty.

Returns:

  • (String)

    ISO alpha2 country code that represents the country of the person’s location. The valid values also include dependencies and areas of special sovereignty.



16
17
18
19
20
21
22
# File 'lib/emis/models/eligibility_deployment_location.rb', line 16

class EligibilityDeploymentLocation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :country_code, String
  attribute :iso_a3_country_code, String
end

#iso_a3_country_codeString

Returns ISO alpha 3 code representing the country of deployment.

Returns:

  • (String)

    ISO alpha 3 code representing the country of deployment.



16
17
18
19
20
21
22
# File 'lib/emis/models/eligibility_deployment_location.rb', line 16

class EligibilityDeploymentLocation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :country_code, String
  attribute :iso_a3_country_code, String
end

#segment_identifierString

Returns identifier that is used to ensure a unique key on each deployment location record.

Returns:

  • (String)

    identifier that is used to ensure a unique key on each deployment location record.



16
17
18
19
20
21
22
# File 'lib/emis/models/eligibility_deployment_location.rb', line 16

class EligibilityDeploymentLocation
  include Virtus.model

  attribute :segment_identifier, String
  attribute :country_code, String
  attribute :iso_a3_country_code, String
end