monitor_me 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/monitor_me/version.rb +1 -1
- data/lib/monitor_me.rb +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7787a9266f0ecfd1e2642a76d89832a5ce48247180e983db06e972ddd5334670
|
4
|
+
data.tar.gz: 01e19ece3c5001d3533071b04e621d52833dd81501b258917cd5250d649de9a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df27afe088936c4a0a989e2b19d78baef26176d3e61d7c18ea92d8225fa6cf10b754f1acd39d287af781a829cd0cd297a2f8698a3dd7c3f4f6c27c2e86197329
|
7
|
+
data.tar.gz: f8a2ae9ebb72bb1d455bba1079f4fda25db0ea96a69dad253940ff690a5dd29770c740b43d11b49c92cf65e8956d463e1fcba4064664a226317228953b482232
|
data/lib/monitor_me/version.rb
CHANGED
data/lib/monitor_me.rb
CHANGED
@@ -1,17 +1,13 @@
|
|
1
1
|
require "monitor_me/version"
|
2
2
|
|
3
3
|
class MonitorMe
|
4
|
-
attr_accessor :apikey
|
5
|
-
def initialize(apikey)
|
6
|
-
@apikey = apikey
|
7
|
-
end
|
8
4
|
|
9
5
|
def log_error(record)
|
10
6
|
print "LOGGIN ERROR FOR #{record.class.name} RECORD"
|
11
7
|
print record.errors.full_messages
|
12
8
|
end
|
13
9
|
|
14
|
-
def print_api_key_global
|
10
|
+
def self.print_api_key_global
|
15
11
|
print "#{MONITOR_APIKEY}" unless MONITOR_APIKEY.blank?
|
16
12
|
end
|
17
13
|
end
|