Module: VSCinemas

Defined in:
lib/vscinemas.rb,
lib/vscinemas/version.rb,
lib/vscinemas/movie_item.rb,
lib/vscinemas/movie_list.rb

Overview

The VSCinemas Film Poller

Since:

  • 0.1.0

Defined Under Namespace

Classes: MovieItem, MovieList

Constant Summary collapse

ENDPOINT =

Since:

  • 0.1.0

'https://www.vscinemas.com.tw'
PATH =

TODO: Remove PATH dependency

Since:

  • 0.1.0

'/vsweb/film/index.aspx'
VERSION =

Since:

  • 0.1.0

'0.2.1'

Class Method Summary collapse

Class Method Details

.comingVSCinemas::MovieList

Return Comings Movie List

Returns:

Since:

  • 0.2.0



41
42
43
# File 'lib/vscinemas.rb', line 41

def coming
  MovieList.new(type: 'coming', continue: true)
end

.moviesVSCinemas::MovieList Also known as: films

Return Movie List

Returns:

Since:

  • 0.1.0



30
31
32
# File 'lib/vscinemas.rb', line 30

def movies
  MovieList.new(continue: true)
end