Skip to content

Commit

Permalink
Format code block as markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kattrali committed Feb 6, 2018
1 parent b0c5422 commit ca1c750
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bugsnag/delivery.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ class << self
# Add a delivery method to the list of supported methods. Any registered
# method can then be used by name in Configuration.
#
# ```
# require 'bugsnag'
# Bugsnag::Delivery.register(:my_delivery_queue, MyDeliveryQueue)
# Bugsnag.configure do |config|
# config.delivery_method = :my_delivery_queue
# end
# ```
def register(name, delivery_method)
delivery_methods[name.to_sym] = delivery_method
end
Expand Down

0 comments on commit ca1c750

Please sign in to comment.