class Bonanza::LinkStrategies::Billing

Public Instance Methods

domain() click to toggle source
# File lib/bonanza/link_strategies/billing.rb, line 10
def domain
  case environment.to_s
  when 'development'
    "http://billing.dev"
  when 'test'
    "http://billing.test"
  when 'staging'
    'http://billing.dev'
  when 'production'
    'https://billingfw.nine.ch'
  end
end
paths() click to toggle source
# File lib/bonanza/link_strategies/billing.rb, line 4
def paths
  {
    debtor: "/DebitorEdit.aspx?DebiNbr=%{reference}",
  }
end