module Fog::Storage::Softlayer::Integrity

Public Instance Methods

validate_username!(name) click to toggle source
# File lib/fog/softlayer/storage.rb, line 43
def validate_username!(name)
  name =~ /:/ and raise ArgumentError, "Invalid username format. If you are using a Storage specific username, use only the part after the colon."
end