class Mumuki::Domain::Organization::Profile

Constants

LOCALES

Public Instance Methods

banner_url() click to toggle source
favicon_url() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 35
def favicon_url
  @favicon_url ||= '/favicon.ico'  # Best image size: 16x16, 32x32 or 48x48
end
locale_h() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 23
def locale_h
  Mumukit::Platform::Locale::SPECS[locale]
end
locale_json() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 19
def locale_json
  locale_h.to_json
end
logo_url() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 27
def logo_url
  @logo_url ||= 'https://mumuki.io/logo-alt-large.png' # Best image size: 350x75
end
open_graph_image_url() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 39
def open_graph_image_url
  @open_graph_image_url ||= Mumukit::Platform.laboratory.url_for("logo-alt.png")  # Best image size: 256x256
end
time_zone() click to toggle source
# File lib/mumuki/domain/organization/profile.rb, line 43
def time_zone
  @time_zone
end