Class: AchClient::Abstract::AchStatusChecker

Inherits:
Object
  • Object
show all
Defined in:
lib/ach_client/providers/abstract/ach_status_checker.rb

Overview

Interface for polling provider for ACH status responses

Class Method Summary collapse

Class Method Details

.in_rangeHash{String => [AchClient::AchResponse]}

Wrapper for a providers range response endpoint

Returns:

  • (Hash{String => [AchClient::AchResponse]})

    Hash with provider’s external ACH id as the key, list of AchResponse objects as values

Raises:

[View source]

16
17
18
# File 'lib/ach_client/providers/abstract/ach_status_checker.rb', line 16

def self.in_range(*)
  raise AbstractMethodError
end

.most_recentHash{String => [AchClient::AchResponse]}

Wrapper for a provider’s “most recent bucket”

Returns:

  • (Hash{String => [AchClient::AchResponse]})

    Hash with provider’s external ACH id as the key, list of AchResponse objects as values

Raises:

[View source]

9
10
11
# File 'lib/ach_client/providers/abstract/ach_status_checker.rb', line 9

def self.most_recent
  raise AbstractMethodError
end