Class: Avmtrf1::Redmine::Entities::IssueStatus

Inherits:
Avmtrf1::RestProvider::Entity show all
Defined in:
lib/avmtrf1/redmine/entities/issue_status.rb

Instance Attribute Summary

Attributes inherited from Avmtrf1::RestProvider::Entity

#data, #instance

Instance Method Summary collapse

Methods inherited from Avmtrf1::RestProvider::Entity

#initialize

Constructor Details

This class inherits a constructor from Avmtrf1::RestProvider::Entity

Instance Method Details

#closed?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/avmtrf1/redmine/entities/issue_status.rb', line 17

def closed?
  data.fetch('is_closed')
end

#idObject



9
10
11
# File 'lib/avmtrf1/redmine/entities/issue_status.rb', line 9

def id
  data.fetch('id')
end

#nameObject



13
14
15
# File 'lib/avmtrf1/redmine/entities/issue_status.rb', line 13

def name
  data.fetch('name')
end