lib/uploadcare/entity/file.rb
def uuid
        return @entity.uuid if @entity.uuid

        uuid = @entity.url.gsub('https://ucarecdn.com/', '')
        uuid.gsub(%r{/.*}, '')
      end
# gets file's uuid - even if it's only initialized with url
# @returns [String]
gets file's uuid - even if it's only initialized with url
gets file ' s uuid - even if it ' s only initialized with url
def uuid
        return @entity.uuid if @entity.uuid
        uuid = @entity.url.gsub('https://ucarecdn.com/', '')
        uuid.gsub(%r{/.*}, '')
      end
def uuid return @entity . uuid if @entity . uuid uuid = @entity . url . gsub ( 'https://ucarecdn.com/' , '' ) uuid . gsub ( %r{ /.* } , '' ) end
gets file's uuid - even if it's only initialized with url
gets file ' s uuid - even if it ' s only initialized with url
None