module ZendeskAppsSupport::Location

Constants

LOCATIONS_AVAILABLE

the numbers below match the enum values on the database, do not change them!

Public Class Methods

hosts() click to toggle source
# File lib/zendesk_apps_support/location.rb, line 20
def hosts
  LOCATIONS_AVAILABLE.keys
end
names_for(host) click to toggle source
# File lib/zendesk_apps_support/location.rb, line 24
def names_for(host)
  LOCATIONS_AVAILABLE[host.to_s].keys
end