You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 9, 2020. It is now read-only.
This gem has been replaced by the Freshworks gem and will no longer be supported. Please switch to [Freshworks](https://github.com/bonusly/freshworks) as soon as possible.
9
+
8
10
# Natero Gem
9
11
A Ruby interface for the [Natero Public API][api-docs].
10
12
@@ -40,15 +42,15 @@ Modify an account:
40
42
```Ruby
41
43
account =Natero::Account.retrieve('ACCOUNT_ID')
42
44
account.name ='TEST'
43
-
45
+
44
46
Natero::Account.modify('ACCOUNT_ID', account)
45
47
```
46
48
47
49
Create an event:
48
50
```Ruby
49
51
event = { id:'test', name:'Testing the API.'}
50
52
details ='These details should be associated with the event in Natero'
51
-
53
+
52
54
Natero::Event.create(event, details)
53
55
```
54
56
@@ -67,7 +69,7 @@ improve this project. Here are some ways *you* can contribute:
67
69
#### Submitting an issue:
68
70
We use the [GitHub issue tracker][issues] to track bugs and features. Before
69
71
submitting a bug report or feature request, check to make sure it hasn't
70
-
already been submitted. When submitting a bug report, please include a stack
72
+
already been submitted. When submitting a bug report, please include a stack
71
73
trace and any details that may be necessary to reproduce
72
74
the bug, including your gem version, Ruby version, and operating system.
73
75
Ideally, a bug report should include a pull request with failing specs.
Copy file name to clipboardexpand all lines: lib/natero/account.rb
+2-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
classNatero::Account < Natero::Base
2
2
defself.retrieve_all
3
+
warn"[DEPRECATION] The Natero gem has been deprecated and will no longer be supported. Please switch to using the Freshworks gem. See https://rubygems.org/gems/freshworks and https://github.com/bonusly/freshworks."
Copy file name to clipboardexpand all lines: natero.gemspec
+1
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ Gem::Specification.new do |spec|
12
12
spec.description='Natero is customer success software used to reduce churn and increase B2B SaaS adoption.'
13
13
spec.homepage='http://bonus.ly'
14
14
spec.license='MIT'
15
+
spec.post_install_message='The Natero gem has been deprecated and will no longer be supported. Please switch to using the Freshworks gem. See https://rubygems.org/gems/freshworks and https://github.com/bonusly/freshworks.'
0 commit comments