Module: ZuoraConnect::ApplicationHelper

Defined in:
app/helpers/zuora_connect/application_helper.rb

Instance Method Summary collapse

Instance Method Details

#connect_meta_tagsObject



11
12
13
# File 'app/helpers/zuora_connect/application_helper.rb', line 11

def connect_meta_tags
  "<meta name=\"z-hallway-prefix\" content=\"#{ Thread.current[:isHallway] }\">".html_safe
end

#is_app_admin?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'app/helpers/zuora_connect/application_helper.rb', line 3

def is_app_admin?
  return @appinstance.blank? ? false : session["#{@appinstance.id}::admin"] || @appinstance.zuora_tenant_ids.include?("9")
end

#zuora_userObject



7
8
9
# File 'app/helpers/zuora_connect/application_helper.rb', line 7

def zuora_user
  return @zuora_user
end