movies_client 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/movies_client/movies_object.rb +29 -1
- data/lib/movies_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGRhMzlmYjY3MDUyNGE2NmRmY2ZiOGEzMmY2Y2Y0NzUwMGZmNzcwNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OWQ1NDVlMWUyMGVkZDI5MjVkMDVmNTFhNjA4NzA4YzU1YWEyOGYyOQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmRkYTI2YmFlNGI0MDYwZTM2MDMxYTI2NzY2YmI2ZmZlNGUwYjkxMTM2NTQ2
|
10
|
+
MWVkY2Q1N2MzYzI2OGYyYWUwMjAwODZiZmUwZjkyODgxNDY0YjczZDI1NmY1
|
11
|
+
OWZkY2E0MjA5NGVlOTBkNDk1NTM1MzU4YTRiZTY1ZjYwYTMzN2M=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YjFlNzYzMDkzYTUxMWMxMDU2NGIwZTIwOWRlYWI5ODM1ZTY0Y2Y2NDk2YjYy
|
14
|
+
ZDg3NTgxZTc3MWUyN2VmN2Q0MDZhZjI5YWU5ODI4YzliYmVhMTIwMjlmMTBj
|
15
|
+
YmNiMTE1ZTQ2Y2IwZmI1YzgwNzAxYjhlNzM5NzFhMDE1MzgwMjQ=
|
@@ -85,7 +85,35 @@ class MoviesObject
|
|
85
85
|
end
|
86
86
|
|
87
87
|
def director(movie)
|
88
|
-
@result[movie.to_s][:credits][:credit]["Director"]
|
88
|
+
@result[movie.to_s][:credits][:credit]["Director"]
|
89
89
|
end
|
90
90
|
|
91
|
+
def author(movie)
|
92
|
+
@result[movie.to_s][:credits][:credit]["Author"]
|
93
|
+
end
|
94
|
+
|
95
|
+
def producer(movie)
|
96
|
+
@result[movie.to_s][:credits][:credit]["Producer"]
|
97
|
+
end
|
98
|
+
|
99
|
+
def original_music_composer(movie)
|
100
|
+
@result[movie.to_s][:credits][:credit]["Original Music Composer"]
|
101
|
+
end
|
102
|
+
|
103
|
+
def director_of_photography(movie)
|
104
|
+
@result[movie.to_s][:credits][:credit]["Director of Photography"]
|
105
|
+
end
|
106
|
+
|
107
|
+
def editor(movie)
|
108
|
+
@result[movie.to_s][:credits][:credit]["Editor"]
|
109
|
+
end
|
110
|
+
|
111
|
+
def novel(movie)
|
112
|
+
@result[movie.to_s][:credits][:credit]["Novel"]
|
113
|
+
end
|
114
|
+
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
|
91
119
|
end
|