Module: WireClient::AccountTransactionHelpers

Included in:
Account, Transaction
Defined in:
lib/wire_client/base/account_transaction_helpers.rb

Instance Method Summary collapse

Instance Method Details

#country_subdivision_abbrObject



3
4
5
6
# File 'lib/wire_client/base/account_transaction_helpers.rb', line 3

def country_subdivision_abbr
  return US_STATES[@country_subdivision] if a_full_name_us_state?
  @country_subdivision
end

#country_subdivision_nameObject



8
9
10
11
# File 'lib/wire_client/base/account_transaction_helpers.rb', line 8

def country_subdivision_name
  return US_STATES.key(@country_subdivision) if an_abbreviated_us_state?
  @country_subdivision
end