simple_analytics_api 0.0.1 → 0.0.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad37e11e9775b0df35b8576f8ed0f3152ba4a363434a11b348297dca6f11ada8
|
4
|
+
data.tar.gz: c685fb99c7350ae58d7bf8771ff12f55d0b56931de1383e679b206b31afd643e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4713798681903cf286e1779b66726f4ffb2873a64d13528ec98571ca29008e69c16f6859173d86238488eda3e792f1e340964324e553c1b09b022776328be7a
|
7
|
+
data.tar.gz: d1c6c6fe3a52a510426072daca08361604c2371158cc0dbca879dde91e36e3a2061451a3eeacc83cea1611000936a680c9b59aa1c2c1c76725f9fd6ca3c2dca8
|
data/Gemfile.lock
CHANGED
@@ -5,7 +5,7 @@ module SimpleAnalyticsApi
|
|
5
5
|
|
6
6
|
attr_accessor :api_key, :user_id, :domain
|
7
7
|
|
8
|
-
def initialize(api_key: nil, user_id: nil, domain:)
|
8
|
+
def initialize(api_key: nil, user_id: nil, domain: nil)
|
9
9
|
@api_key = api_key.to_s
|
10
10
|
@user_id = user_id.to_s
|
11
11
|
@domain = domain.to_s
|
@@ -15,6 +15,10 @@ module SimpleAnalyticsApi
|
|
15
15
|
run.ok rescue false
|
16
16
|
end
|
17
17
|
|
18
|
+
def websites
|
19
|
+
Website.new(client: self).run
|
20
|
+
end
|
21
|
+
|
18
22
|
def run(fields: [], filters: {})
|
19
23
|
Resource.new(client: self, fields: fields, filters: filters).run
|
20
24
|
end
|
data/lib/simple_analytics_api.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_analytics_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gustavo Garcia
|
@@ -32,6 +32,7 @@ files:
|
|
32
32
|
- lib/simple_analytics_api/object.rb
|
33
33
|
- lib/simple_analytics_api/resource.rb
|
34
34
|
- lib/simple_analytics_api/version.rb
|
35
|
+
- lib/simple_analytics_api/website.rb
|
35
36
|
- simple_analytics_api.gemspec
|
36
37
|
homepage: https://github.com/dailytics/simpleanalytics_api
|
37
38
|
licenses:
|