module Neighborly::Balanced
  class Verification
    def self.find(uri)
      new(::Balanced::Verification.find(uri))
    end

    def initialize(balanced_verification)
      @source = balanced_verification
    end

    def bank_account
      ::Balanced::BankAccount.find(bank_account_uri)
    end

    def bank_account_uri
      uri.match(/\A(?<bank_account_uri>.+)\/verifications/)[:bank_account_uri]
    end

    # Delegate instance methods to Balanced::Verification object
    def method_missing(method, *args, &block)
      if @source.respond_to? method
        @source.public_send(method, *args, &block)
      else
        super
      end
    end
  end
end

Create our version of Balanced::Verification with a bank account
Create our version of Balanced::Verification with a bank account
