class Blufin::SiteEmbedded
Public Class Methods
get_data()
click to toggle source
Gets the Data Hash @return Hash
# File lib/core/site/site_embedded.rb, line 21 def self.get_data @@embedded_data end
init(embedded_data)
click to toggle source
Only needs to be initialized once. @return void
# File lib/core/site/site_embedded.rb, line 9 def self.init(embedded_data) return unless @@embedded_data.nil? raise RuntimeError, "Expected Hash, instead got: #{embedded_data.class}" unless embedded_data.is_a?(Hash) @@embedded_data = embedded_data end