Sha256: 77c333a9f19daa3f91062f9587e611b99e4dcdc29ea8ff4b5e619cb6202cb9c9

Contents?: true

Size: 297 Bytes

Versions: 15

Compression:

Stored size: 297 Bytes

Contents

module Vzaar
  module Resource
    module VideoDetails
      def self.new(body, status_code)
        if body =~ /\/vzaar-api/
          Vzaar::Resource::VideoStatus.new(body, status_code)
        else
          Vzaar::Resource::Video.new(body, status_code)
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vzaar-1.6.2 lib/vzaar/resources/video_details.rb
vzaar-1.6.1 lib/vzaar/resources/video_details.rb
vzaar-1.6.0 lib/vzaar/resources/video_details.rb
vzaar-1.5.3 lib/vzaar/resources/video_details.rb
vzaar-1.5.2 lib/vzaar/resources/video_details.rb
vzaar-1.5.1 lib/vzaar/resources/video_details.rb
vzaar-1.5.0 lib/vzaar/resources/video_details.rb
vzaar-1.4.4 lib/vzaar/resources/video_details.rb
vzaar-1.4.1 lib/vzaar/resources/video_details.rb
vzaar-1.3.1 lib/vzaar/resources/video_details.rb
vzaar-1.3.0 lib/vzaar/resources/video_details.rb
vzaar-1.2.4 lib/vzaar/resources/video_details.rb
vzaar-1.2.3 lib/vzaar/resources/video_details.rb
vzaar-1.2.2 lib/vzaar/resources/video_details.rb
vzaar-1.0.0 lib/vzaar/resources/video_details.rb