Sha256: 8c350f3658b4c6314bcca5744789e682d3b58173174fd1834021478e9645452c
Contents?: true
Size: 592 Bytes
Versions: 9
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true module Trusona module Services # ## A service for interacting with TruCode TruCodes class TruCodesService < BaseService def initialize( client: Trusona::Api::HTTPClient.new(Trusona.config.api_host), mapper: Trusona::Mappers::TruCodeMapper.new ) @client = client @mapper = mapper @resource_path = '/api/v2/trucodes' end def member_path(resource) [@resource_path, resource.id].join('/') end def verify_response(_response) true end end end end
Version data entries
9 entries across 9 versions & 1 rubygems