Sha256: d8edabbbba84b5beaa7f1bb34353273a9fbc493d73fd77c010c350be69999d98

Contents?: true

Size: 279 Bytes

Versions: 12

Compression:

Stored size: 279 Bytes

Contents

module FlexmlsApi
  module Models
    class Video < Base
      extend Subresource
      self.element_name = 'videos'

      def branded?
        attributes['Type'] == 'branded'
      end

      def unbranded?
        attributes['Type'] == 'unbranded'
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
spark_api-1.0.2 lib/spark_api/models/video.rb~
spark_api-1.0.1 lib/spark_api/models/video.rb~
spark_api-1.0.0 lib/spark_api/models/video.rb~
flexmls_api-0.7.3 lib/flexmls_api/models/video.rb
flexmls_api-0.7.5 lib/flexmls_api/models/video.rb
flexmls_api-0.7.0 lib/flexmls_api/models/video.rb
flexmls_api-0.6.5 lib/flexmls_api/models/video.rb
flexmls_api-0.6.4 lib/flexmls_api/models/video.rb
flexmls_api-0.4.5 lib/flexmls_api/models/video.rb
flexmls_api-0.3.6 lib/flexmls_api/models/video.rb
flexmls_api-0.3.3 lib/flexmls_api/models/video.rb
flexmls_api-0.3.2 lib/flexmls_api/models/video.rb