lib/uploadcare/entity/group.rb
# gets groups's id - even if it's only initialized with cdn_url
# @return [String]
gets groups's id - even if it's only initialized with cdn_url
gets groups ' s id - even if it ' s only initialized with cdn_url
def id
        return @entity.id if @entity.id
        id = @entity.cdn_url.gsub('https://ucarecdn.com/', '')
        id.gsub(%r{/.*}, '')
      end
def id return @entity . id if @entity . id id = @entity . cdn_url . gsub ( 'https://ucarecdn.com/' , '' ) id . gsub ( %r{ /.* } , '' ) end
gets groups's id - even if it's only initialized with cdn_url
gets groups ' s id - even if it ' s only initialized with cdn_url
None
String