Class: Demografix::AgifyPrediction

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

Overview

A single agify prediction. country_id is set only when the request carried one.

Instance Attribute Summary collapse

Instance Attribute Details

#ageObject (readonly)

Returns the value of attribute age

Returns:

  • (Object)

    the current value of age



16
17
18
# File 'lib/demografix/models.rb', line 16

def age
  @age
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



16
17
18
# File 'lib/demografix/models.rb', line 16

def count
  @count
end

#country_idObject (readonly)

Returns the value of attribute country_id

Returns:

  • (Object)

    the current value of country_id



16
17
18
# File 'lib/demografix/models.rb', line 16

def country_id
  @country_id
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



16
17
18
# File 'lib/demografix/models.rb', line 16

def name
  @name
end