Module: Fog::Storage::Softlayer::Integrity
Instance Method Summary collapse
Instance Method Details
#validate_username!(name) ⇒ Object
41 42 43 |
# File 'lib/fog/softlayer/storage.rb', line 41 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 |