Class: Etna::Clients::Gnomon::ProjectRulesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(raw = {}) ⇒ ProjectRulesResponse

Returns a new instance of ProjectRulesResponse.



11
12
13
# File 'lib/etna/clients/gnomon/models.rb', line 11

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

Instance Attribute Details

#rawObject (readonly)

Returns the value of attribute raw.



9
10
11
# File 'lib/etna/clients/gnomon/models.rb', line 9

def raw
  @raw
end

Instance Method Details

#rulesObject



15
16
17
# File 'lib/etna/clients/gnomon/models.rb', line 15

def rules
  Rules.new(raw['rules'])
end