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.



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

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

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



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

def raw
  @raw
end

Instance Method Details

#modelsObject



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

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