Class: Etna::Clients::Janus::GetProjectResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw = '') ⇒ GetProjectResponse

Returns a new instance of GetProjectResponse.



83
84
85
# File 'lib/etna/clients/janus/models.rb', line 83

def initialize(raw = '')
  @raw = raw
end

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



81
82
83
# File 'lib/etna/clients/janus/models.rb', line 81

def raw
  @raw
end

Instance Method Details

#projectObject



87
88
89
# File 'lib/etna/clients/janus/models.rb', line 87

def project
  Project.new(@raw[:project])
end