lib/apidiesel/errors.rb in apidiesel-0.13 vs lib/apidiesel/errors.rb in apidiesel-0.14
- old
+ new
@@ -1,10 +1,10 @@
module Apidiesel
class Error < StandardError; end
class InputError < Error; end
class RequestError < Error
- attr_reader :request
+ attr_accessor :request
def initialize(msg = nil, request = nil)
@request = request
super(msg)
end
\ No newline at end of file