Class: EvssClaimsServiceProvider

Inherits:
Object
  • Object
show all
Includes:
ClaimsServiceProvider
Defined in:
lib/disability_compensation/providers/claims_service/evss_claims_service_provider.rb

Instance Method Summary collapse

Methods included from ClaimsServiceProvider

all_claims

Constructor Details

#initialize(auth_headers) ⇒ EvssClaimsServiceProvider

Returns a new instance of EvssClaimsServiceProvider.



9
10
11
# File 'lib/disability_compensation/providers/claims_service/evss_claims_service_provider.rb', line 9

def initialize(auth_headers)
  @service = EVSS::ClaimsService.new(auth_headers)
end

Instance Method Details

#all_claims(_client_id = nil, _rsa_key = nil) ⇒ Object



13
14
15
# File 'lib/disability_compensation/providers/claims_service/evss_claims_service_provider.rb', line 13

def all_claims(_client_id = nil, _rsa_key = nil)
  @service.all_claims.body
end