zendesk2 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ class Zendesk2::Error < StandardError
4
4
  def initialize(wrapped_exception)
5
5
  @wrapped_exception = wrapped_exception
6
6
  @message = if wrapped_exception.is_a?(Faraday::Error::ParsingError)
7
- wrapped_exception.instance_variable_get(:@wrapped_exception).inspect
7
+ wrapped_exception.message
8
8
  elsif wrapped_exception.is_a?(Faraday::Error::ClientError)
9
9
  wrapped_exception.response.inspect
10
10
  else
@@ -1,3 +1,3 @@
1
1
  module Zendesk2
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: