lib/payday/config.rb in webtranslateit-payday-1.5.0 vs lib/payday/config.rb in webtranslateit-payday-1.6.0
- old
+ new
@@ -1,11 +1,13 @@
# frozen_string_literal: true
module Payday
+
# Configuration for Payday. This is a singleton, so to set the company_name you would call
# Payday::Config.default.company_name = "Awesome Corp".
class Config
+
attr_accessor :invoice_logo, :company_name, :company_details, :date_format, :currency
# Sets the page size to use. See the
# {http://prawn.majesticseacreature.com/docs/0.10.2/Prawn/Document/PageGeometry.html Prawn documentation} for valid
# page_size values.
@@ -31,7 +33,9 @@
# Internal: Contruct a new config object.
def initialize
reset
end
+
end
+
end