Method: Comet::WindowsCodeSignProperties#from_json
- Defined in:
- lib/comet/models/windows_code_sign_properties.rb
#from_json(json_string) ⇒ Object
96 97 98 99 100 |
# File 'lib/comet/models/windows_code_sign_properties.rb', line 96 def from_json(json_string) raise TypeError, "'json_string' expected String, got #{json_string.class}" unless json_string.is_a? String from_hash(JSON.parse(json_string)) end |