Class: Backlog::Object::Status

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status) ⇒ Status

Returns a new instance of Status.



128
129
130
131
# File 'lib/backlog/object.rb', line 128

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

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



132
133
134
# File 'lib/backlog/object.rb', line 132

def id
  @id
end

#nameObject (readonly)

Returns the value of attribute name.



132
133
134
# File 'lib/backlog/object.rb', line 132

def name
  @name
end