Class: Nokaya::MusicStore
Instance Attribute Summary
Attributes inherited from Basic
#args, #file_name, #image_url, #name, #options, #path, #type
Instance Method Summary collapse
-
#initialize(args, options = {}) ⇒ MusicStore
constructor
A new instance of MusicStore.
Methods inherited from Apple
Methods inherited from Basic
Constructor Details
#initialize(args, options = {}) ⇒ MusicStore
Returns a new instance of MusicStore.
6 7 8 9 10 11 12 13 |
# File 'lib/nokaya/musicstore.rb', line 6 def initialize args, = {} = .dup ['itunes'] = true super(args, ) @type = :musicstore find(args) @path = "#{@path}/musicstore-#{@workers.sanitize(args.join(' '))}-#{@workers.timed}" end |