Class: WhatsOnNetflix::LeavingSoon
- Defined in:
- lib/whats_on_netflix/leaving_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
5 6 7 |
# File 'lib/whats_on_netflix/leaving_soon.rb', line 5 def self.all @@all end |
.list ⇒ Object
13 14 15 16 17 18 |
# File 'lib/whats_on_netflix/leaving_soon.rb', line 13 def self.list puts "= = = = =" puts "Leaving Soon from Netflix" puts "= = = = =" self.print_list end |
.list_url ⇒ Object
9 10 11 |
# File 'lib/whats_on_netflix/leaving_soon.rb', line 9 def self.list_url "https://www.whats-on-netflix.com/leaving-soon/titles-leaving-netflix-in-#{self.current_month}-#{self.current_year}/" end |