class Multicash::Account
Attributes
address[RW]
bae[R]
bank_name[RW]
city[RW]
errors[R]
iban[RW]
name[RW]
Public Class Methods
new(attributes = {})
click to toggle source
# File lib/multicash/account.rb, line 16 def initialize attributes = {} @name = attributes[:name] @city = attributes[:city] || "CITY" @address = attributes[:address] || "ADDRESS" @bank_name = attributes[:bank_name] || "BANK NAME" @iban = attributes[:iban] @errors = ActiveModel::Errors.new(self) end