Class: Drum::Ref
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
- 
  
    
      #resource_location  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The path/id of the resource, service-dependent (usually a String or Symbol). 
- 
  
    
      #resource_type  ⇒ Symbol 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The type of the resource, service-dependent. 
- 
  
    
      #service_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of the service. 
Instance Attribute Details
#resource_location ⇒ Object
Returns The path/id of the resource, service-dependent (usually a String or Symbol).
| 14 15 16 17 18 | # File 'lib/drum/model/ref.rb', line 14 Ref = Struct.new( :service_name, :resource_type, :resource_location ) | 
#resource_type ⇒ Symbol
Returns The type of the resource, service-dependent.
| 14 15 16 17 18 | # File 'lib/drum/model/ref.rb', line 14 Ref = Struct.new( :service_name, :resource_type, :resource_location ) |