diff --git a/Gemfile.lock b/Gemfile.lock index 7a6eb87..b5ad144 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - obsws (0.5.0) + obsws (0.5.2) waitutil (~> 0.2.1) websocket-driver (~> 0.7.5) diff --git a/lib/obsws.rb b/lib/obsws.rb index c03d790..52e8082 100644 --- a/lib/obsws.rb +++ b/lib/obsws.rb @@ -33,7 +33,7 @@ module OBSWS def message msg = [ - "Request #{@name} returned code #{@code}." + "Request #{@req_name} returned code #{@code}." ] msg << "With message: #{@msg}" if @msg msg.join(" ") diff --git a/lib/obsws/version.rb b/lib/obsws/version.rb index 9160669..9bcb679 100644 --- a/lib/obsws/version.rb +++ b/lib/obsws/version.rb @@ -11,7 +11,7 @@ module OBSWS end def patch - 2 + 3 end def to_a