Class: Blufin::SiteEmbedded
- Inherits:
-
Object
- Object
- Blufin::SiteEmbedded
- Defined in:
- lib/core/site/site_embedded.rb
Constant Summary collapse
- @@embedded_data =
nil
Class Method Summary collapse
-
.get_data ⇒ Object
Gets the Data Hash.
-
.init(embedded_data) ⇒ Object
Only needs to be initialized once.
Class Method Details
.get_data ⇒ Object
Gets the Data Hash
21 22 23 |
# File 'lib/core/site/site_embedded.rb', line 21 def self.get_data end |
.init(embedded_data) ⇒ Object
Only needs to be initialized once.
9 10 11 12 13 14 15 16 17 |
# File 'lib/core/site/site_embedded.rb', line 9 def self.init() return unless .nil? raise RuntimeError, "Expected Hash, instead got: #{embedded_data.class}" unless .is_a?(Hash) = end |