Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airbrake-ruby: deprecate notifier_name argument #168

Merged
merged 1 commit into from
Feb 22, 2017

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Feb 20, 2017

Partially resolves #165 (Get rid of third argument in public API
methods)

@kyrylo kyrylo force-pushed the 165-decouple-notifier branch from d4dcc46 to 47fecfc Compare February 20, 2017 13:55
"Use `Airbrake[:#{notifier}]` to access the :#{notifier} notifier " \
"and call same methods directly on it."
)
end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to method and re-use it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kyrylo kyrylo force-pushed the 165-decouple-notifier branch from 47fecfc to b4fc115 Compare February 20, 2017 18:28
Partially resolves #165 (Get rid of third argument in public API
methods)
@kyrylo kyrylo force-pushed the 165-decouple-notifier branch from b4fc115 to 5a9449c Compare February 20, 2017 18:29
@kyrylo
Copy link
Contributor Author

kyrylo commented Feb 20, 2017

PTAL

@grosser
Copy link
Contributor

grosser commented Feb 20, 2017

would it be simpler to make it part of the options ?
Airbrake.notify(foo, notifier: :bar)
(never used this feature)

@kyrylo
Copy link
Contributor Author

kyrylo commented Feb 20, 2017

@grosser IMO that would be an overkill because we don't have any other arguments to pass.

@grosser
Copy link
Contributor

grosser commented Feb 20, 2017

I'm fine with either ... don't really care ... only thing that I could use is if Airbrake.configuration started working again (as config getter since I used to use it to get the api key / inspect settings).

@kyrylo
Copy link
Contributor Author

kyrylo commented Feb 22, 2017

@grosser please file a new issue about this.

@kyrylo kyrylo merged commit 8c8344e into master Feb 22, 2017
@kyrylo kyrylo deleted the 165-decouple-notifier branch February 22, 2017 14:11
kyrylo added a commit to airbrake/airbrake that referenced this pull request Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get rid of third argument in public API methods
3 participants