baremetrics_api 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 549ee984ffb23d7b635da4b536dd9654aa82374c
4
- data.tar.gz: 4528517c939d9a6c20ca6f82ca7c83213e555e3a
3
+ metadata.gz: f0f388425083762c375fee784d4a5b8a5de3e08e
4
+ data.tar.gz: dd46aabff2f76e892ba848bc5c7afa1cb82ea70d
5
5
  SHA512:
6
- metadata.gz: a09215dd1762eab4ae9b229010b95ab3c419117e642f230367c91a03a256faa0eeeb4f87f19494f49168d1856f4e56a57c4acc4971d21a79966db294755d8f5b
7
- data.tar.gz: a010199ac63b70a6b7cca0a01d3590816cba6ebcaa165bdde3aa4da0fece3caccfd93844a1ee8b3ed4114c3b5163b0f77b5a2e064644e29949e1f72b02bbe490
6
+ metadata.gz: 6e589b787f9d0bdecaa6436a3b33732e7eba147f77c12ba84fe5e08de8056150c4ada14a2d655d0172b8a6a01d9c1ad195564058ab0471a64432a582cc108602
7
+ data.tar.gz: acd5288cd42a4cfeff34098de70124802008aa3ddeb3b728846c004a1dc221a7ca47a50d58928360af0cca2bf772460abab61aca21b605557da04424d56be1f2
@@ -15,12 +15,12 @@ module BaremetricsAPI
15
15
  JSON.parse(show_metric_request(metric, start_date, end_date, compare_to, page).body).with_indifferent_access
16
16
  end
17
17
 
18
- def show_customers(metric:, start_date:, end_date:, page: nil)
19
- JSON.parse(show_customers_request(metric, start_date, end_date, page).body).with_indifferent_access
18
+ def show_customers(metric:, start_date:, end_date:)
19
+ JSON.parse(show_customers_request(metric, start_date, end_date).body).with_indifferent_access
20
20
  end
21
21
 
22
- def show_plan_breakout(metric:, start_date:, end_date:, page: nil)
23
- JSON.parse(show_plan_breakout_request(metric, start_date, end_date, page).body).with_indifferent_access
22
+ def show_plan_breakout(metric:, start_date:, end_date:)
23
+ JSON.parse(show_plan_breakout_request(metric, start_date, end_date).body).with_indifferent_access
24
24
  end
25
25
 
26
26
  private
@@ -63,8 +63,6 @@ module BaremetricsAPI
63
63
  end_date: end_date
64
64
  }
65
65
 
66
- query_params[:page] = page unless page.nil?
67
-
68
66
  @client.connection.get do |req|
69
67
  req.url "#{PATH}/#{metric}/customers"
70
68
  req.params = query_params
@@ -78,8 +76,6 @@ module BaremetricsAPI
78
76
  end_date: end_date
79
77
  }
80
78
 
81
- query_params[:page] = page unless page.nil?
82
-
83
79
  @client.connection.get do |req|
84
80
  req.url "#{PATH}/#{metric}/plans"
85
81
  req.params = query_params
@@ -1,3 +1,3 @@
1
1
  module BaremetricsAPI
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baremetrics_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Third Blink Software Inc
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-08 00:00:00.000000000 Z
11
+ date: 2017-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler