Method: Google::Cloud::Storage::HmacKey#inactive?

Defined in:
lib/google/cloud/storage/hmac_key.rb

#inactive?Boolean

Whether the state of the HMAC key is INACTIVE.

Returns:

  • (Boolean)


191
192
193
# File 'lib/google/cloud/storage/hmac_key.rb', line 191

def inactive?
  state == "INACTIVE"
end