fyipe 3.0.12005.pre.qa → 3.0.12011.pre.qa

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7cd6b2e3cef633df0aef32eea26122a53fe3690cd08211f6b8ee4f67fdb8fe6
4
- data.tar.gz: 22bdd963c3ea45a6cdd56141fe13693c443a4afde2f62388af8c3ce381b180f6
3
+ metadata.gz: f8d3bba726a8b48899ca39958b0dc269f9298893e26a145dfcfbc3dae4c56819
4
+ data.tar.gz: fc43cc610d3821ea7d896e41422e8cc7ddd318e4b79daf1d4af87911b4c473fb
5
5
  SHA512:
6
- metadata.gz: 48f334801cce2fde6c86191bd0b89611cafa3370e6f4188fb7673835d1981c9f27a76daf5d4b51c98f6a4c7257edc93f94d5257adf844df37c71339c4529f1e6
7
- data.tar.gz: 21650569ea71ab49c9f00d7205e177430c08e225c45bd185a3f718fdec34a457d5c83f86aba4f3eb1e7af4176a0e30d136b063fe7a27fcc07687b8e55d8b8811
6
+ metadata.gz: 5a82dd49932cdb64d345be1e1ee9be2b61d65a1862c93b214730f7c4056242a2d9be69ca00fac395a9cc6240f861c715527bb13bcb79ed0796cb348a8f31d213
7
+ data.tar.gz: 4ab5b065b55c44ce7ff3685442cabcaf07479135e223176ba06efa718c7b13d615779abac03a5547be4fd222372cf7c2ff63c62b33706bf795c5a8625b2a3b94
data/README.md CHANGED
@@ -80,14 +80,51 @@ tracker = FyipeLogger.new(
80
80
  options # optional
81
81
  )
82
82
 
83
- # capturing error exception manually and sent to your fyipe dashboard
83
+ # capturing a timeline manually
84
+ timelineContent = {}
85
+
86
+ timelineContent["account"] = "debit"
87
+ timelineContent["amount"] = "6000.00"
88
+ timelineContent["userId"] = 471
89
+ tracker.addToTimeline('payment', timelineContent, 'info')
90
+
91
+ # setting custom tags
92
+ tracker.setTag('category', 'QA Tester') # a single tag
93
+
94
+ # multiple tags
95
+ tags = []
96
+
97
+ # create two tags
98
+ tagOne = {}
99
+ tagOne["key"] = 'type'
100
+ tagOne["value"] = 'notification'
101
+ tagTwo = {}
102
+ tagTwo["key"] = 'location'
103
+ tagTwo["value"] = 'Oslo'
104
+
105
+ # add the two items to the array
106
+ tags = [tagOne, tagTwo]
107
+
108
+ # setting the array of tags
109
+ tracker.setTags(tags)
110
+
111
+
112
+ # all error exception captured are sent to your fyipe dashboard
113
+
114
+ # capturing errors in a begin and rescue
84
115
  begin
85
- # your code logic
116
+ # some code that might fail
86
117
  result = 5/0 # Should throw a division by zero error
87
118
  rescue => ex
88
119
  tracker.captureException(ex)
89
120
  end
90
121
 
122
+ # capturing errors using the message signature
123
+ tracker.captureMessage('some error text')
124
+
125
+ # capturing errors authomatically
126
+ NonExistingMethod() # calling this will trigger an error and its sent to your fyipe dashboard
127
+
91
128
  ```
92
129
 
93
130
  ## API Documentation
data/lib/fyipe/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Fyipe
2
2
  NAME = 'fyipe'
3
- VERSION = '3.0.12005-qa'
3
+ VERSION = '3.0.12011-qa'
4
4
  end
data/lib/fyipeTracker.rb CHANGED
@@ -27,7 +27,7 @@ class FyipeTracker
27
27
  setEventId()
28
28
  @listenerObj = FyipeListener.new(getEventId(), @options)
29
29
  @apiTransport = FyipeTransport.new(@apiUrl)
30
- # setUpExceptionHandlerListener()
30
+ setUpExceptionHandlerListener()
31
31
  end
32
32
 
33
33
  def setApiUrl(apiUrl)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fyipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.12005.pre.qa
4
+ version: 3.0.12011.pre.qa
5
5
  platform: ruby
6
6
  authors:
7
7
  - HackerBay, Inc.