soapy_cake 1.9.2 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soapy_cake/admin.rb +4 -1
- data/lib/soapy_cake/version.rb +1 -1
- data/spec/lib/soapy_cake/admin_spec.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e449eedeaa5cdce80c84426b85054ebc48d19f14
|
4
|
+
data.tar.gz: e44a87372c2030c0971b36c41713b7b78d865395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed74f8a1fc307b5cb32dfee2a8c5c692118ac4338d7003791c4cff3c96e0288cc885eb7739fea8c7f8f91e9189a735c69b6b258830bb2bad853dcebbadf82dbd
|
7
|
+
data.tar.gz: 41137d677751139b8393d4e12abdc317e8e52c0aa806ffcb344c5cf4522f0ed362b528fc9c8511c14f3ab3e93ac9616854ec824f6d3034c43526a6697dfa65f2
|
data/lib/soapy_cake/admin.rb
CHANGED
@@ -76,7 +76,10 @@ module SoapyCake
|
|
76
76
|
run Request.new(:admin, :reports, :traffic_export, opts)
|
77
77
|
end
|
78
78
|
|
79
|
-
def caps(opts
|
79
|
+
def caps(opts)
|
80
|
+
require_params(opts, %i(start_date end_date))
|
81
|
+
translate_values!(opts, %i(cap_type_id))
|
82
|
+
|
80
83
|
run Request.new(:admin, :reports, :caps, opts)
|
81
84
|
end
|
82
85
|
|
data/lib/soapy_cake/version.rb
CHANGED