Class: MizuhoBank::MizuhoAccount
- Inherits:
-
Object
- Object
- MizuhoBank::MizuhoAccount
- Defined in:
- lib/mizuho_bank.rb
Instance Attribute Summary collapse
-
#cache_flows ⇒ Object
C/F明細.
-
#deal_type ⇒ Object
取引種類.
-
#money ⇒ Object
残高.
-
#name ⇒ Object
店名.
-
#number ⇒ Object
口座番号.
-
#usable_money ⇒ Object
お引き出し可能残高.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MizuhoAccount
constructor
A new instance of MizuhoAccount.
- #to_s ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ MizuhoAccount
Returns a new instance of MizuhoAccount.
435 436 437 438 439 |
# File 'lib/mizuho_bank.rb', line 435 def initialize(={}) .each{ |key, value| instance_variable_set("@#{key}", value) } end |
Instance Attribute Details
#cache_flows ⇒ Object
C/F明細
433 434 435 |
# File 'lib/mizuho_bank.rb', line 433 def cache_flows @cache_flows end |
#deal_type ⇒ Object
取引種類
429 430 431 |
# File 'lib/mizuho_bank.rb', line 429 def deal_type @deal_type end |
#money ⇒ Object
残高
431 432 433 |
# File 'lib/mizuho_bank.rb', line 431 def money @money end |
#name ⇒ Object
店名
428 429 430 |
# File 'lib/mizuho_bank.rb', line 428 def name @name end |
#number ⇒ Object
口座番号
430 431 432 |
# File 'lib/mizuho_bank.rb', line 430 def number @number end |
#usable_money ⇒ Object
お引き出し可能残高
432 433 434 |
# File 'lib/mizuho_bank.rb', line 432 def usable_money @usable_money end |
Instance Method Details
#to_s ⇒ Object
441 442 443 |
# File 'lib/mizuho_bank.rb', line 441 def to_s "#<MizuhoAccount #{@name}:#{@deal_type}:#{@number} $#{@money}(#{@usable_money})>" end |