Class: TicketflyPlus::Objects::YoutubeVideo
- Inherits:
-
Object
- Object
- TicketflyPlus::Objects::YoutubeVideo
- Defined in:
- lib/ticketfly_plus/objects.rb
Instance Attribute Summary collapse
-
#embedCodeIframe ⇒ Object
Returns the value of attribute embedCodeIframe.
-
#title ⇒ Object
Returns the value of attribute title.
-
#videoId ⇒ Object
Returns the value of attribute videoId.
Instance Method Summary collapse
-
#initialize(video) ⇒ YoutubeVideo
constructor
A new instance of YoutubeVideo.
Constructor Details
#initialize(video) ⇒ YoutubeVideo
Returns a new instance of YoutubeVideo.
176 177 178 179 180 |
# File 'lib/ticketfly_plus/objects.rb', line 176 def initialize(video) = video['embedcodeiframe'] @title = video['title'] @videoid = video['videoid'] end |
Instance Attribute Details
#embedCodeIframe ⇒ Object
Returns the value of attribute embedCodeIframe.
172 173 174 |
# File 'lib/ticketfly_plus/objects.rb', line 172 def end |
#title ⇒ Object
Returns the value of attribute title.
173 174 175 |
# File 'lib/ticketfly_plus/objects.rb', line 173 def title @title end |
#videoId ⇒ Object
Returns the value of attribute videoId.
174 175 176 |
# File 'lib/ticketfly_plus/objects.rb', line 174 def videoId @videoId end |