Class: Backlog::Object::Resolution

Inherits:
Object
  • Object
show all
Defined in:
lib/backlog/object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resolution) ⇒ Resolution

Returns a new instance of Resolution.



120
121
122
123
# File 'lib/backlog/object.rb', line 120

def initialize(resolution)
  @id = resolution['id']
  @name = resolution['name']
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



124
125
126
# File 'lib/backlog/object.rb', line 124

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



124
125
126
# File 'lib/backlog/object.rb', line 124

def name
  @name
end