Class: Demografix::GenderizeResult

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

Overview

A single-name result: every prediction field plus a quota reader.

Instance Attribute Summary collapse

Instance Attribute Details

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



23
24
25
# File 'lib/demografix/models.rb', line 23

def count
  @count
end

#country_idObject (readonly)

Returns the value of attribute country_id

Returns:

  • (Object)

    the current value of country_id



23
24
25
# File 'lib/demografix/models.rb', line 23

def country_id
  @country_id
end

#genderObject (readonly)

Returns the value of attribute gender

Returns:

  • (Object)

    the current value of gender



23
24
25
# File 'lib/demografix/models.rb', line 23

def gender
  @gender
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



23
24
25
# File 'lib/demografix/models.rb', line 23

def name
  @name
end

#probabilityObject (readonly)

Returns the value of attribute probability

Returns:

  • (Object)

    the current value of probability



23
24
25
# File 'lib/demografix/models.rb', line 23

def probability
  @probability
end

#quotaObject (readonly)

Returns the value of attribute quota

Returns:

  • (Object)

    the current value of quota



23
24
25
# File 'lib/demografix/models.rb', line 23

def quota
  @quota
end