Commit fac3c11c3d0a005cb644188356f77e34482ad5f5
1 parent
a1eb6072
Exists in
master
and in
1 other branch
There are no breaking changes between the Hoptoad
v2.0 API and the Airbrake v2.2 API.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/hoptoad.rb
@@ -18,6 +18,7 @@ module Hoptoad | @@ -18,6 +18,7 @@ module Hoptoad | ||
18 | def self.get_version_processor(version) | 18 | def self.get_version_processor(version) |
19 | case version | 19 | case version |
20 | when '2.0'; Hoptoad::V2 | 20 | when '2.0'; Hoptoad::V2 |
21 | + when '2.2'; Hoptoad::V2 | ||
21 | else; raise ApiVersionError | 22 | else; raise ApiVersionError |
22 | end | 23 | end |
23 | end | 24 | end |