Sha256: b31a270e60b0c3f31ec5d6d0159134e5c5af7e52cef41630790a697bee093b9f
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
module VzaarApi module Strategy module Image class Abstract attr_reader :video_id, :attrs, :video_class def initialize(video_id, attrs, video_class) @attrs = attrs @video_id = video_id @video_class = video_class end def execute raise 'not implemented' end def url path = File.join(video_class::ENDPOINT, video_id.to_s, "image") Lib::Api.resource_url path end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vzaar_api-2.0.2 | lib/vzaar_api/strategy/image/abstract.rb |
vzaar_api-2.0.1 | lib/vzaar_api/strategy/image/abstract.rb |