module SparkApi::Models::Media

Public Instance Methods

automatic?() click to toggle source
# File lib/spark_api/models/media.rb, line 24
def automatic?
    attributes['Privacy'] == 'Automatic'
end
description() click to toggle source
# File lib/spark_api/models/media.rb, line 12
def description
    raise "Not Implemented"
end
private?() click to toggle source
# File lib/spark_api/models/media.rb, line 16
def private?
    attributes['Privacy'] == 'Private'
end
public?() click to toggle source
# File lib/spark_api/models/media.rb, line 20
def public?
    attributes['Privacy'] == 'Public'
end
url() click to toggle source

This module is effectively an interface and helper to combine common media actions and information. Media types (videos, virtual tours, etc) should include this module and implement the methods contained

# File lib/spark_api/models/media.rb, line 8
def url
    raise "Not Implemented"
end