Class: Issue

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Issue

Returns a new instance of Issue.



4
5
6
7
8
# File 'lib/jira.rb', line 4

def initialize( args )
  @self_url = args.fetch( 'self' )
  @id = args.fetch( 'id' )
  @key = args.fetch( 'key' )
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



2
3
4
# File 'lib/jira.rb', line 2

def id
  @id
end

#keyObject (readonly)

Returns the value of attribute key.



2
3
4
# File 'lib/jira.rb', line 2

def key
  @key
end

#self_urlObject (readonly)

Returns the value of attribute self_url.



2
3
4
# File 'lib/jira.rb', line 2

def self_url
  @self_url
end