Method: GoodData::Rest::Connection.generate_string
- Defined in:
- lib/gooddata/rest/connection.rb
.generate_string(length = ID_LENGTH) ⇒ String
Generate random string with URL safe base64 encoding
93 94 95 |
# File 'lib/gooddata/rest/connection.rb', line 93 def generate_string(length = ID_LENGTH) SecureRandom.urlsafe_base64(length) end |