lib/socialcastr/exceptions.rb in socialcastr-0.2.5 vs lib/socialcastr/exceptions.rb in socialcastr-0.2.6
- old
+ new
@@ -1,7 +1,7 @@
module Socialcastr
- class InvalidMethod < StandardError
- end
+ class InvalidMethod < StandardError; end
+ class InvalidAttribute < StandardError; end
class ConnectionError < StandardError # :nodoc:
attr_reader :response
def initialize(response, message = nil)
@response = response