Class: Nokaya::ImageshackUser
- Defined in:
- lib/nokaya/imageshack_user.rb
Instance Attribute Summary
Attributes inherited from Basic
#args, #filenames, #name, #options, #path, #type, #urls
Instance Method Summary collapse
-
#initialize(args, options = {}) ⇒ ImageshackUser
constructor
A new instance of ImageshackUser.
Methods inherited from Basic
#get_basic, #name_files, #parse, #save
Constructor Details
#initialize(args, options = {}) ⇒ ImageshackUser
Returns a new instance of ImageshackUser.
6 7 8 9 10 11 12 13 14 |
# File 'lib/nokaya/imageshack_user.rb', line 6 def initialize args, = {} super(args, ) @type = :imageshack parsed = parse(args[0]) @urls = album(parsed).compact @author = () @path = "#{@path}/imageshack-#{@author}-#{@workers.timed}" @filenames = name_files() end |