Class: Beanie::BankAccount

Inherits:
Api
  • Object
show all
Defined in:
lib/beanie/bank_account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Api

all, build_url, #construct_path, delete, #extract, #field_name, find, get, #object_name, #populate, post, put, #save!, set_headers

Constructor Details

#initializeBankAccount

Initialize instance variables



36
37
38
39
40
41
42
# File 'lib/beanie/bank_account.rb', line 36

def initialize
  @id = nil
  @iban = nil
  @name = nil
  @swift = nil
  @nominal_account_id = nil
end

Instance Attribute Details

#ibanObject

Returns the value of attribute iban.



32
33
34
# File 'lib/beanie/bank_account.rb', line 32

def iban
  @iban
end

#idObject

Returns the value of attribute id.



32
33
34
# File 'lib/beanie/bank_account.rb', line 32

def id
  @id
end

#nameObject

Returns the value of attribute name.



32
33
34
# File 'lib/beanie/bank_account.rb', line 32

def name
  @name
end

#nominal_account_idObject

Returns the value of attribute nominal_account_id.



32
33
34
# File 'lib/beanie/bank_account.rb', line 32

def 
  @nominal_account_id
end

#swiftObject

Returns the value of attribute swift.



32
33
34
# File 'lib/beanie/bank_account.rb', line 32

def swift
  @swift
end