Class: BankApi::Values::DepositEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/bank_api/values/deposit_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount, date, rut, bank) ⇒ DepositEntry

Returns a new instance of DepositEntry.



5
6
7
8
9
10
# File 'lib/bank_api/values/deposit_entry.rb', line 5

def initialize(amount, date, rut, bank)
  @amount = amount
  @date = date
  @rut = rut
  @bank = bank
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



3
4
5
# File 'lib/bank_api/values/deposit_entry.rb', line 3

def amount
  @amount
end

#bankObject

Returns the value of attribute bank.



3
4
5
# File 'lib/bank_api/values/deposit_entry.rb', line 3

def bank
  @bank
end

#dateObject

Returns the value of attribute date.



3
4
5
# File 'lib/bank_api/values/deposit_entry.rb', line 3

def date
  @date
end

#rutObject

Returns the value of attribute rut.



3
4
5
# File 'lib/bank_api/values/deposit_entry.rb', line 3

def rut
  @rut
end

#signatureObject

Returns the value of attribute signature.



3
4
5
# File 'lib/bank_api/values/deposit_entry.rb', line 3

def signature
  @signature
end