lib/ezid/responses/response.rb in ezid-client-1.1.1 vs lib/ezid/responses/response.rb in ezid-client-1.2.0
- old
+ new
@@ -7,13 +7,13 @@
# @api private
#
class Response < SimpleDelegator
# Success response status
- SUCCESS = "success"
+ SUCCESS = "success".freeze
# Error response status
- ERROR = "error"
+ ERROR = "error".freeze
# The response status -- "success" or "error"
# @return [String] the status
def status
@status ||= status_line.split(/: /)