Class: Kount::RIS::Persona

Inherits:
Base
  • Object
show all
Defined in:
app/models/kount/ris/persona.rb

Constant Summary

Constants inherited from Base

Base::COUNTRY_CODES

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#active_order_countObject

Returns the value of attribute active_order_count.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def active_order_count
  @active_order_count
end

#card_countObject

Returns the value of attribute card_count.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def card_count
  @card_count
end

#country_codeObject

Returns the value of attribute country_code.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def country_code
  @country_code
end

#device_countObject

Returns the value of attribute device_count.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def device_count
  @device_count
end

#email_countObject

Returns the value of attribute email_count.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def email_count
  @email_count
end

#order_countObject

Returns the value of attribute order_count.



4
5
6
# File 'app/models/kount/ris/persona.rb', line 4

def order_count
  @order_count
end

Instance Method Details

#to_hObject



13
14
15
16
17
18
19
20
21
22
# File 'app/models/kount/ris/persona.rb', line 13

def to_h
  {
    card_count: card_count,
    device_count: device_count,
    email_count: email_count,
    country_code: country_code,
    order_count: order_count,
    active_order_count: active_order_count,
  }
end