Sha256: 7de0b9615899d5193774b6c9f450f393897d8a6488bbc76c0c39cc43d90369d1
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
# frozen_string_literal: true require 'credit_gateway/base_repository' require 'credit_gateway/full_score' module CreditGateway class FinancialScoreRepository < BaseRepository # Fetch financial score for given company # identity - CreditGateway::Identity def find(identity) result = get('/score/financialscore', identity: identity) FullScore.build(json: result.body) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
credit_gateway-0.1.1 | lib/credit_gateway/financial_score_repository.rb |
credit_gateway-0.1.0 | lib/credit_gateway/financial_score_repository.rb |