themoviedb 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/themoviedb.rb +1 -1
- data/lib/themoviedb/movie.rb +6 -0
- metadata +2 -2
data/lib/themoviedb.rb
CHANGED
data/lib/themoviedb/movie.rb
CHANGED
@@ -75,6 +75,12 @@ module Tmdb
|
|
75
75
|
search.fetch_response['cast']
|
76
76
|
end
|
77
77
|
|
78
|
+
#Get the cast information for a specific movie id.
|
79
|
+
def self.crew(id, conditions={})
|
80
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/casts")
|
81
|
+
search.fetch_response['crew']
|
82
|
+
end
|
83
|
+
|
78
84
|
#Get the images (posters and backdrops) for a specific movie id.
|
79
85
|
def self.images(id, conditions={})
|
80
86
|
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/images")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: themoviedb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|