Class: Demografix::GenderizePrediction

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

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



12
13
14
# File 'lib/demografix/models.rb', line 12

def count
  @count
end

#country_idObject (readonly)

Returns the value of attribute country_id

Returns:

  • (Object)

    the current value of country_id



12
13
14
# File 'lib/demografix/models.rb', line 12

def country_id
  @country_id
end

#genderObject (readonly)

Returns the value of attribute gender

Returns:

  • (Object)

    the current value of gender



12
13
14
# File 'lib/demografix/models.rb', line 12

def gender
  @gender
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



12
13
14
# File 'lib/demografix/models.rb', line 12

def name
  @name
end

#probabilityObject (readonly)

Returns the value of attribute probability

Returns:

  • (Object)

    the current value of probability



12
13
14
# File 'lib/demografix/models.rb', line 12

def probability
  @probability
end