wes-data-api 13.0.0 → 13.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wes/data/api.rb +1 -1
- data/lib/wes/data/api/model/brief.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23ce15ad02c4ca5caa74bbc3475582867ef3b1b5
|
4
|
+
data.tar.gz: 01e5288e6e74b5bc4149faabf33b2d9c3cf0e879
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d03d7229f94adb6eefdb306c8fedd1f46e6422332cbdd063ce8ac48ebc2a8fe91b18fdf5e188f2b190cc768737a7b3f319ed2e859fa852e1e7974620c4350db
|
7
|
+
data.tar.gz: 1ada4700e365e5cbea6fb27ae708dd8bb2f3ab1cbe5eb2fc195946f5b531034b114ef321a99791de2307019db7a44591ab0c227b1badaf44607a96a62cc8d28d
|
data/lib/wes/data/api.rb
CHANGED
@@ -107,6 +107,11 @@ module Wes
|
|
107
107
|
client.get(route)
|
108
108
|
end
|
109
109
|
|
110
|
+
def fetch_video_partner_assets
|
111
|
+
route = [routes.brief, id, routes.videos, routes.partner_assets].join('/')
|
112
|
+
client.get(route)
|
113
|
+
end
|
114
|
+
|
110
115
|
def fetch_videos(state, not_under_nda)
|
111
116
|
route = add_state(
|
112
117
|
[routes.brief, id, routes.videos].join('/'), state
|
@@ -121,11 +126,6 @@ module Wes
|
|
121
126
|
raise NoMethodError unless @attributes.respond_to?(method_name)
|
122
127
|
@attributes.send(method_name)
|
123
128
|
end
|
124
|
-
|
125
|
-
def video_partner_assets
|
126
|
-
route = [routes.brief, id, routes.videos, routes.partner_assets].join('/')
|
127
|
-
client.get(route)
|
128
|
-
end
|
129
129
|
end
|
130
130
|
end
|
131
131
|
end
|