Sha256: f48e50a6929b7bee21fcb567ab4d371a8fd4ecc5c69fa7895e45cd6f4bb51ea5
Contents?: true
Size: 713 Bytes
Versions: 12
Compression:
Stored size: 713 Bytes
Contents
module SparkApi module Models module Media # 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 def url raise "Not Implemented" end def description raise "Not Implemented" end def private? attributes['Privacy'] == 'Private' end def public? attributes['Privacy'] == 'Public' end def automatic? attributes['Privacy'] == 'Automatic' end end end end
Version data entries
12 entries across 12 versions & 1 rubygems