Class: Demografix::GenderizeResult
- Inherits:
-
Data
- Object
- Data
- Demografix::GenderizeResult
- Defined in:
- lib/demografix/models.rb
Overview
A single-name result: every prediction field plus a quota reader.
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#country_id ⇒ Object
readonly
Returns the value of attribute country_id.
-
#gender ⇒ Object
readonly
Returns the value of attribute gender.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#probability ⇒ Object
readonly
Returns the value of attribute probability.
-
#quota ⇒ Object
readonly
Returns the value of attribute quota.
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def count @count end |
#country_id ⇒ Object (readonly)
Returns the value of attribute country_id
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def country_id @country_id end |
#gender ⇒ Object (readonly)
Returns the value of attribute gender
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def gender @gender end |
#name ⇒ Object (readonly)
Returns the value of attribute name
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def name @name end |
#probability ⇒ Object (readonly)
Returns the value of attribute probability
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def probability @probability end |
#quota ⇒ Object (readonly)
Returns the value of attribute quota
23 24 25 |
# File 'lib/demografix/models.rb', line 23 def quota @quota end |