Class: TicketflyPlus::Objects::YoutubeVideo

Inherits:
Object
  • Object
show all
Defined in:
lib/ticketfly_plus/objects.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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)
    @embedcodeiframe = video['embedcodeiframe']
    @title = video['title']
    @videoid = video['videoid']
end

Instance Attribute Details

#embedCodeIframeObject

Returns the value of attribute embedCodeIframe.



172
173
174
# File 'lib/ticketfly_plus/objects.rb', line 172

def embedCodeIframe
  @embedCodeIframe
end

#titleObject

Returns the value of attribute title.



173
174
175
# File 'lib/ticketfly_plus/objects.rb', line 173

def title
  @title
end

#videoIdObject

Returns the value of attribute videoId.



174
175
176
# File 'lib/ticketfly_plus/objects.rb', line 174

def videoId
  @videoId
end