Class: Demografix::NationalizeCountry

Inherits:
Data
  • Object
show all
Defined in:
lib/demografix/models.rb

Overview

One nationalize candidate: a country and its probability.

Instance Attribute Summary collapse

Instance Attribute Details

#country_idObject (readonly)

Returns the value of attribute country_id

Returns:

  • (Object)

    the current value of country_id



8
9
10
# File 'lib/demografix/models.rb', line 8

def country_id
  @country_id
end

#probabilityObject (readonly)

Returns the value of attribute probability

Returns:

  • (Object)

    the current value of probability



8
9
10
# File 'lib/demografix/models.rb', line 8

def probability
  @probability
end