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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTRiMmY4NjA1ZjNlODgyMWU4NGVlZjQ4YjY5YWQxYmM1OWRjZDFjZg==
4
+ ZGRhMzlmYjY3MDUyNGE2NmRmY2ZiOGEzMmY2Y2Y0NzUwMGZmNzcwNw==
5
5
  data.tar.gz: !binary |-
6
- ZDQwZjkzZmZjMGE5Y2RlYzU1Yjc0YmEzYjZkNDM3ZjhmNTMyMzlmYg==
6
+ OWQ1NDVlMWUyMGVkZDI5MjVkMDVmNTFhNjA4NzA4YzU1YWEyOGYyOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjJmZmUzNGIwZTViNDBkOWJhZTNmMTViNGNiZDRjM2I4YTFkNzBiYWNlYWM5
10
- MmFkNGI5OWZlOGQ3ZmIyMjQ0NzdhY2UxMDYzOTg2MmVjZDc5OWFhYWQ1OTVm
11
- Nzk1NzM3YzQwNjdhNjkzNDM1MTBkM2MwMGFhY2VlMDRjZGJmNmY=
9
+ MmRkYTI2YmFlNGI0MDYwZTM2MDMxYTI2NzY2YmI2ZmZlNGUwYjkxMTM2NTQ2
10
+ MWVkY2Q1N2MzYzI2OGYyYWUwMjAwODZiZmUwZjkyODgxNDY0YjczZDI1NmY1
11
+ OWZkY2E0MjA5NGVlOTBkNDk1NTM1MzU4YTRiZTY1ZjYwYTMzN2M=
12
12
  data.tar.gz: !binary |-
13
- YTI4YjFmMjQ3MzlhNWFmNDkxZGFkZjNjYzgyNGUyMjg4OTNkOTUyYjM1YjY0
14
- NjE0OWYxYjc2ZDVhMGI3Y2YyZDM4Y2E2MmNlYWRmMDgwOTdjOGQwY2E3M2Vk
15
- YzNkNjFmNTVmYjdhMjUyZTY5OTE0ZmY3OWRmNTAwMWZjZjA1N2E=
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"][0]
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
@@ -1,3 +1,3 @@
1
1
  module MoviesClient
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: movies_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeanbaptistevilain