class Bonanza::LinkStrategies::Otrs
Public Instance Methods
domain()
click to toggle source
# File lib/bonanza/link_strategies/otrs.rb, line 11 def domain case environment.to_s when 'development' 'http://otrs.nine.ch/otrs' when 'test' 'http://otrs.test' when 'staging' 'https://otrs-staging.nine.ch/otrs' when 'production' 'https://otrs.nine.ch/otrs' end end
paths()
click to toggle source
# File lib/bonanza/link_strategies/otrs.rb, line 4 def paths { customer: "/index.pl?Action=AgentCustomerInformationCenter;CustomerID=%{reference}", ticket: "/index.pl?Action=AgentTicketZoom;TicketNumber=%{reference}", } end