Class: Bambora::BatchUpload::CreateBatchFile

Inherits:
Object
  • Object
show all
Defined in:
lib/bambora/batch_upload/create_batch_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(txn_array) ⇒ CreateBatchFile

Returns a new instance of CreateBatchFile.



9
10
11
# File 'lib/bambora/batch_upload/create_batch_file.rb', line 9

def initialize(txn_array)
  @txn_array = txn_array
end

Instance Attribute Details

#txn_arrayObject

Returns the value of attribute txn_array.



7
8
9
# File 'lib/bambora/batch_upload/create_batch_file.rb', line 7

def txn_array
  @txn_array
end

Instance Method Details

#callObject



13
14
15
# File 'lib/bambora/batch_upload/create_batch_file.rb', line 13

def call 
  create_file 
end