Class: Drum::Ref

Inherits:
Struct show all
Defined in:
lib/drum/model/ref.rb

Overview

A parsed reference to a resource, usually one or multiple playlists. Can be a folder, a library or the like, located on the local machine or a remote service.

See the README for examples.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_locationObject



14
15
16
17
18
# File 'lib/drum/model/ref.rb', line 14

Ref = Struct.new(
  :service_name,
  :resource_type,
  :resource_location
)

#resource_typeSymbol



14
15
16
17
18
# File 'lib/drum/model/ref.rb', line 14

Ref = Struct.new(
  :service_name,
  :resource_type,
  :resource_location
)

#service_nameString



14
15
16
17
18
# File 'lib/drum/model/ref.rb', line 14

Ref = Struct.new(
  :service_name,
  :resource_type,
  :resource_location
)