- A
- C
- D
- H
- R
- S
- Settings::Defaults
- Settings::MemberButton
- Settings::Members
- Settings::NotificationsData
- Settings::Region
- Settings::RetentionOptions
Instance Public methods
after_logout_url() Link
Source: show
# File app/models/db/site_settings.rb, line 56 def after_logout_url super.presence || site_website end
cancel_at_period_end?() Link
Source: show
# File app/models/db/site_settings.rb, line 60 def cancel_at_period_end? cancellation_policy == "at_period_end" end
display_redirect_path() Link
Source: show
# File app/models/db/site_settings.rb, line 64 def display_redirect_path redirect_path_has_errors? ? redirect_path : redirect_path_with_site_website end
hide_memberspace_branding() Link
Source: show
# File app/models/db/site_settings.rb, line 94 def hide_memberspace_branding remove_memberspace_branding end
hide_memberspace_branding=(value) Link
Source: show
# File app/models/db/site_settings.rb, line 98 def hide_memberspace_branding=(value) self.remove_memberspace_branding = value end
remove_memberspace_branding!() Link
Source: show
# File app/models/db/site_settings.rb, line 86 def remove_memberspace_branding! update!(remove_memberspace_branding: true) end
show_coupon_input() Link
Cannot use jsonb_accessor with show_coupon_input because it is stored underneath the payment key. GH#6172 proposes to fix this.
Source: show
# File app/models/db/site_settings.rb, line 73 def show_coupon_input if payment_show_coupon_input.nil? self.show_coupon_input = true else payment_show_coupon_input end end