Sha256: fe1979725db890dcbeb2f0aad88302ad2f899eec4236985794c5f7bdc34b02ee
Contents?: true
Size: 599 Bytes
Versions: 6
Compression:
Stored size: 599 Bytes
Contents
module StatRaptor class Client module Graphs def get_revenue_graph_data(params = {}) graph_data("revenue", params) end def get_subscribers_graph_data(params = {}) graph_data("subscribers", params) end def get_average_lifetime_value_graph_data(params = {}) graph_data("average_lifetime_value", params) end def get_churn_graph_data(params = {}) graph_data("churn", params) end private def graph_data(type, params = {}) get("/api/v1/graphs/#{type}.json", params) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems