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.



207
208
209
# File 'lib/etna/clients/magma/models.rb', line 207

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

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



205
206
207
# File 'lib/etna/clients/magma/models.rb', line 205

def raw
  @raw
end

Instance Method Details

#modelsObject



211
212
213
# File 'lib/etna/clients/magma/models.rb', line 211

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