Sha256: 599ab25765e2d8bd983e52221e5c8738856bd82fcd2df68b3fd34f7ef6112bca
Contents?: true
Size: 988 Bytes
Versions: 37
Compression:
Stored size: 988 Bytes
Contents
# frozen_string_literal: true require 'avm/instances/base' require 'eac_ruby_utils/core_ext' module EhbrsRubyUtils module WebUtils class Instance < ::Avm::Instances::Base class Finances class Bills require_sub __FILE__ common_constructor :finances delegate :instance, to: :finances # @return [Pathname] def bills_directory(suffix) instance.read_entry('finances.bills.directory').to_pathname.join(suffix) end # @return [EhbrsRubyUtils::WebUtils::Instance::Finances::Bills::Consume] def consume ::EhbrsRubyUtils::WebUtils::Instance::Finances::Bills::Consume.new(self) end # @return [Pathname] def pending_directory bills_directory('pending') end # @return [Pathname] def registered_directory bills_directory('registered') end end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems