Class: Gratitude::Statistics

Inherits:
Object
  • Object
show all
Includes:
Connection
Defined in:
lib/gratitude/statistics.rb

Instance Method Summary collapse

Methods included from Connection

#faraday

Instance Method Details

#nachObject 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

#pccObject 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