Sha256: e7963d9130999d667b155bceab95dd6cc2aa7f0004d0017ab4c101c5c4540fe5
Contents?: true
Size: 434 Bytes
Versions: 22
Compression:
Stored size: 434 Bytes
Contents
# frozen_string_literal: true module LedgerSync module Ledgers class DashboardURLHelper attr_reader :resource, :base_url def initialize(args = {}) @resource = args.fetch(:resource) @base_url = args.fetch(:base_url) end def url File.join(base_url, resource_path) end def resource_path raise NotImplementedError end end end end
Version data entries
22 entries across 22 versions & 1 rubygems