Class: Gratitude::Statistics
- Inherits:
-
Object
- Object
- Gratitude::Statistics
- Includes:
- Connection
- Defined in:
- lib/gratitude/statistics.rb
Instance Method Summary collapse
- #nach ⇒ Object (also: #number_of_ach_credits, #number_of_achs)
- #pcc ⇒ Object (also: #percentage_of_users_with_credit_cards)
Methods included from Connection
Instance Method Details
#nach ⇒ Object Also known as: number_of_ach_credits, number_of_achs
11 12 13 |
# File 'lib/gratitude/statistics.rb', line 11 def nach Integer(response_body.fetch("nach")) end |
#pcc ⇒ Object Also known as: percentage_of_users_with_credit_cards
17 18 19 |
# File 'lib/gratitude/statistics.rb', line 17 def pcc response_body.fetch("pcc").strip end |