Class: Mode::Connector::Uploader
- Inherits:
-
Object
- Object
- Mode::Connector::Uploader
- Defined in:
- lib/mode/connector/uploader.rb
Instance Attribute Summary collapse
-
#dataset ⇒ Object
readonly
Returns the value of attribute dataset.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(path, dataset) ⇒ Uploader
constructor
A new instance of Uploader.
- #perform! ⇒ Object
Constructor Details
#initialize(path, dataset) ⇒ Uploader
Returns a new instance of Uploader.
7 8 9 10 |
# File 'lib/mode/connector/uploader.rb', line 7 def initialize(path, dataset) @path = path @dataset = dataset end |
Instance Attribute Details
#dataset ⇒ Object (readonly)
Returns the value of attribute dataset.
5 6 7 |
# File 'lib/mode/connector/uploader.rb', line 5 def dataset @dataset end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
4 5 6 |
# File 'lib/mode/connector/uploader.rb', line 4 def path @path end |