Sha256: abf58dfa53b13bd321e3bfe776c7f679cc353e99afd831a74fd17f1a303c2e5b
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Adaptors class DashboardURLHelper attr_reader :resource, :base_url def initialize(resource:, base_url:) @resource = resource @base_url = base_url end def url @base_url + resource_path end def resource_path raise NotImplementedError end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ledger_sync-1.3.5 | lib/ledger_sync/adaptors/dashboard_url_helper.rb |