class Bollywood::Movie
Attributes
cast[RW]
name[RW]
release_date[RW]
synopsis[RW]
Public Class Methods
all()
click to toggle source
# File lib/bollywood/movie.rb, line 12 def self.all @@all end
find(id)
click to toggle source
# File lib/bollywood/movie.rb, line 16 def self.find(id) self.all[id-1] end
new()
click to toggle source
URL = “www.bollywoodmdb.com/movies/”
# File lib/bollywood/movie.rb, line 8 def initialize @@all << self end