Class: Nokaya::Photonet

Inherits:
Basic
  • Object
show all
Defined in:
lib/nokaya/photonet.rb

Instance Attribute Summary

Attributes inherited from Basic

#args, #filenames, #name, #options, #path, #type, #urls

Instance Method Summary collapse

Methods inherited from Basic

#get_basic, #parse, #save

Constructor Details

#initialize(args, options = {}) ⇒ Photonet

Returns a new instance of Photonet.



6
7
8
9
10
11
12
13
# File 'lib/nokaya/photonet.rb', line 6

def initialize args, options = {}
  super(args, options)
  @type = :photonet
  parsed = parse(args[0])
  @urls = album(parsed)
  @path = "#{@path}/photonet-#{@workers.timed}"
  @filenames = name_files()
end