Add TRUMP PLAN to pay for upcoming Net Neutrality

Removes the free plan for the White House, FCC, US Senate and Trump
hotels. Introduces special Trump Plan, 2MB of disk space for only $100/mo.
This commit is contained in:
Kyle Drake 2017-04-26 16:38:43 -07:00
parent e7be10fb8e
commit ebc3ffe7e9
6 changed files with 145 additions and 27 deletions

View file

@ -112,6 +112,14 @@ class Site < Sequel::Model
maximum_site_files: 100_000
}
PLAN_FEATURES[:trumpplan] = PLAN_FEATURES[:supporter].merge(
name: 'Trump Plan',
price: 100,
space: Filesize.from('2MB').to_i,
no_file_restrictions: false,
bandwidth: Filesize.from('604800KB').to_i
)
PLAN_FEATURES[:free] = PLAN_FEATURES[:supporter].merge(
name: 'Free',
space: Filesize.from('1GB').to_i,