Method: Onebox::Engine::StandardEmbed#always_https?

Defined in:
lib/onebox/engine/standard_embed.rb

#always_https?Boolean

Returns:

  • (Boolean)


31
32
33
# File 'lib/onebox/engine/standard_embed.rb', line 31

def always_https?
  WhitelistedGenericOnebox.host_matches(uri, WhitelistedGenericOnebox.https_hosts)
end