Method: GlobalVariable.from_dynamic!

Defined in:
lib/schemas.rb

.from_dynamic!(d) ⇒ Object



16864
16865
16866
16867
16868
16869
16870
16871
16872
# File 'lib/schemas.rb', line 16864

def self.from_dynamic!(d)
  d = Types::Hash[d]
  new(
    enabled:              d["enabled"],
    key:                  d["key"],
    global_variable_type: d["type"],
    value:                d["value"],
  )
end