class Gratitude::Statistics
Public Instance Methods
nach()
click to toggle source
# File lib/gratitude/statistics.rb, line 11 def nach Integer(response_body.fetch("nach")) end
Also aliased as: number_of_ach_credits, number_of_achs
pcc()
click to toggle source
# File lib/gratitude/statistics.rb, line 17 def pcc response_body.fetch("pcc").strip end
Also aliased as: percentage_of_users_with_credit_cards
Private Instance Methods
response()
click to toggle source
# File lib/gratitude/statistics.rb, line 59 def response @response ||= faraday.get("/about/stats.json") end
response_body()
click to toggle source
# File lib/gratitude/statistics.rb, line 63 def response_body @response_body ||= response.body end