Class: Etna::Clients::Magma::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/etna/clients/magma/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw = {}) ⇒ Project

Returns a new instance of Project.



192
193
194
# File 'lib/etna/clients/magma/models.rb', line 192

def initialize(raw = {})
  @raw = raw
end

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



190
191
192
# File 'lib/etna/clients/magma/models.rb', line 190

def raw
  @raw
end

Instance Method Details

#modelsObject



196
197
198
# File 'lib/etna/clients/magma/models.rb', line 196

def models
  Models.new(raw['models'])
end