Class: G5Updatable::Location

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
BelongsToClient, FirstClassProperties, UrnAsParameter
Defined in:
app/models/g5_updatable/location.rb

Instance Method Summary collapse

Methods included from UrnAsParameter

#to_param

Methods included from FirstClassProperties

#properties=

Instance Method Details

#display_nameObject



15
16
17
18
19
# File 'app/models/g5_updatable/location.rb', line 15

def display_name
  return nil unless properties
  return properties['internal_branded_name'] if properties['internal_branded_name'].present?
  name
end