Class: ActivePublicResources::ResponseTypes::Video
- Inherits:
-
BaseResponseType
- Object
- BaseResponseType
- ActivePublicResources::ResponseTypes::Video
- Defined in:
- lib/active_public_resources/response_types/video.rb
Instance Attribute Summary collapse
-
#created_date ⇒ Object
Returns the value of attribute created_date.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#embed_url ⇒ Object
Returns the value of attribute embed_url.
-
#height ⇒ Object
Returns the value of attribute height.
-
#num_comments ⇒ Object
Returns the value of attribute num_comments.
-
#num_likes ⇒ Object
Returns the value of attribute num_likes.
-
#num_views ⇒ Object
Returns the value of attribute num_views.
-
#thumbnail_url ⇒ Object
Returns the value of attribute thumbnail_url.
-
#url ⇒ Object
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
-
#width ⇒ Object
Returns the value of attribute width.
Attributes inherited from BaseResponseType
#description, #id, #kind, #return_types, #title
Instance Method Summary collapse
-
#initialize ⇒ Video
constructor
A new instance of Video.
Methods inherited from BaseResponseType
Constructor Details
#initialize ⇒ Video
Returns a new instance of Video.
7 8 9 10 |
# File 'lib/active_public_resources/response_types/video.rb', line 7 def initialize super @kind = 'video' end |
Instance Attribute Details
#created_date ⇒ Object
Returns the value of attribute created_date.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def created_date @created_date end |
#duration ⇒ Object
Returns the value of attribute duration.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def duration @duration end |
#embed_url ⇒ Object
Returns the value of attribute embed_url.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def @embed_url end |
#height ⇒ Object
Returns the value of attribute height.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def height @height end |
#num_comments ⇒ Object
Returns the value of attribute num_comments.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def num_comments @num_comments end |
#num_likes ⇒ Object
Returns the value of attribute num_likes.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def num_likes @num_likes end |
#num_views ⇒ Object
Returns the value of attribute num_views.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def num_views @num_views end |
#thumbnail_url ⇒ Object
Returns the value of attribute thumbnail_url.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def thumbnail_url @thumbnail_url end |
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def username @username end |
#width ⇒ Object
Returns the value of attribute width.
4 5 6 |
# File 'lib/active_public_resources/response_types/video.rb', line 4 def width @width end |