Method: Yt::Models::Resource#private?

Defined in:
lib/yt/models/resource.rb

#private?Boolean

Returns whether the resource is private.

Returns:

  • (Boolean)

    whether the resource is private.



32
33
34
# File 'lib/yt/models/resource.rb', line 32

def private?
  privacy_status == 'private'
end