Class: WhatsOnNetflix::ComingSoon
- Defined in:
- lib/whats_on_netflix/coming_soon.rb
Constant Summary collapse
- @@all =
[]
Instance Attribute Summary
Attributes inherited from List
#display_title, #genre, #plot, #stars, #title, #year
Class Method Summary collapse
Methods inherited from List
#add_data_from_hash, add_movies, create_from_array, current_month, current_year, #initialize, item, print_list
Constructor Details
This class inherits a constructor from WhatsOnNetflix::List
Class Method Details
.all ⇒ Object
8 9 10 |
# File 'lib/whats_on_netflix/coming_soon.rb', line 8 def self.all @@all end |
.list ⇒ Object
16 17 18 19 20 21 |
# File 'lib/whats_on_netflix/coming_soon.rb', line 16 def self.list puts "= = = = =" puts "Coming Soon on Netflix" puts "= = = = =" self.print_list end |
.list_url ⇒ Object
12 13 14 |
# File 'lib/whats_on_netflix/coming_soon.rb', line 12 def self.list_url "http://www.whats-on-netflix.com/coming-soon/#{self.current_month}-#{self.current_year}-new-netflix-releases/" end |