lib/citygrid.rb in citygrid_api-0.0.11 vs lib/citygrid.rb in citygrid_api-0.0.12
- old
+ new
@@ -25,9 +25,19 @@
def raise_errors?
!defined?(@raise_errors) || @raise_errors
end
+ # whether the gem with print curls or not
+ # by default it will not print curls
+ def print_curls= v
+ @print_curls = v
+ end
+
+ def print_curls?
+ defined?(@print_curls) ? @print_curls : false
+ end
+
def use_vcr= v
@use_vcr = v
end
def use_vcr?
\ No newline at end of file