Class: Tiktalik::Object
- Inherits:
-
Object
- Object
- Tiktalik::Object
- Defined in:
- lib/tiktalik/object.rb
Direct Known Subclasses
Computing::Instance, Computing::Network, Computing::Operation, Computing::VPSImage, Computing::VPSNetInterface
Instance Method Summary collapse
-
#initialize(json) ⇒ Object
constructor
A new instance of Object.
Constructor Details
#initialize(json) ⇒ Object
Returns a new instance of Object.
11 12 13 14 15 16 17 |
# File 'lib/tiktalik/object.rb', line 11 def initialize(json) json.each do |key, value| instance_variable_set("@#{key}", value) end after_initialize end |