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.



185
186
187
# File 'lib/etna/clients/magma/models.rb', line 185

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

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



183
184
185
# File 'lib/etna/clients/magma/models.rb', line 183

def raw
  @raw
end

Instance Method Details

#modelsObject



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

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