loco_bill 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/loco_bill/request.rb +2 -1
  2. metadata +2 -2
@@ -104,7 +104,8 @@ module LocoBill
104
104
  RequestResult.new(res)
105
105
  else
106
106
  HoptoadNotifier.notify(
107
- :error_class => "LocoBill::RequestErrorExpanded",
107
+ :error_class => "LocoBill::RequestError",
108
+ :error_message => "#{res[:errorcode]}: #{res[:errormessage]}",
108
109
  :parameters => {:raw_response => raw_response, :original_request => original_request}
109
110
  ) if Object.const_defined?(:HoptoadNotifier)
110
111
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 6
9
- version: 0.0.6
8
+ - 7
9
+ version: 0.0.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - chris mcc