Class: Pictrails::ImportSystem::GalleryImport

Inherits:
Object
  • Object
show all
Defined in:
lib/pictrails/import_system.rb

Overview

Manage a GalleryImport for the mass_upload

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, name, parent) ⇒ GalleryImport

Returns a new instance of GalleryImport.



12
13
14
15
16
17
# File 'lib/pictrails/import_system.rb', line 12

def initialize(path, name, parent)
  @path = path
  @name = name
  @parent = parent
  @child = []
end

Instance Attribute Details

#childObject

Returns the value of attribute child.



10
11
12
# File 'lib/pictrails/import_system.rb', line 10

def child
  @child
end

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/pictrails/import_system.rb', line 9

def name
  @name
end

#parentObject (readonly)

Returns the value of attribute parent.



9
10
11
# File 'lib/pictrails/import_system.rb', line 9

def parent
  @parent
end

#pathObject (readonly)

Returns the value of attribute path.



9
10
11
# File 'lib/pictrails/import_system.rb', line 9

def path
  @path
end