Class: Tubeclip::Model::Content
- Defined in:
- lib/tubeclip/model/content.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
(also: #is_default?)
readonly
- Boolean
-
Description of the video.
-
#duration ⇒ Object
readonly
- Fixnum
-
Length of the video in seconds.
-
#format ⇒ Object
readonly
- Tubeclip::Model::Video::Format
-
Specifies the video format of the video object.
-
#mime_type ⇒ Object
readonly
- String
-
Specifies the MIME type of the media object.
-
#url ⇒ Object
readonly
- String
-
Specifies the URL for the media object.
Method Summary
Methods inherited from Record
Constructor Details
This class inherits a constructor from Tubeclip::Record
Instance Attribute Details
#default ⇒ Object (readonly) Also known as: is_default?
- Boolean
-
Description of the video.
5 6 7 |
# File 'lib/tubeclip/model/content.rb', line 5 def default @default end |
#duration ⇒ Object (readonly)
- Fixnum
-
Length of the video in seconds.
7 8 9 |
# File 'lib/tubeclip/model/content.rb', line 7 def duration @duration end |
#format ⇒ Object (readonly)
- Tubeclip::Model::Video::Format
-
Specifies the video format of the video object
9 10 11 |
# File 'lib/tubeclip/model/content.rb', line 9 def format @format end |
#mime_type ⇒ Object (readonly)
- String
-
Specifies the MIME type of the media object.
11 12 13 |
# File 'lib/tubeclip/model/content.rb', line 11 def mime_type @mime_type end |
#url ⇒ Object (readonly)
- String
-
Specifies the URL for the media object.
13 14 15 |
# File 'lib/tubeclip/model/content.rb', line 13 def url @url end |