lib/netsuite/support/requests.rb in netsuite-0.0.26 vs lib/netsuite/support/requests.rb in netsuite-0.0.27
- old
+ new
@@ -20,11 +20,11 @@
end
private
def request
- raise NotImplementedError
+ raise NotImplementedError, 'Please implement a #request method'
end
def connection
Configuration.connection
end
@@ -36,14 +36,14 @@
def build_response
Response.new(:success => success?, :body => response_body)
end
def success?
- raise NotImplementedError
+ raise NotImplementedError, 'Please implement a #success? method'
end
def response_body
- raise NotImplementedError
+ raise NotImplementedError, 'Please implement a #response_body method'
end
end
end
end