Class: BetterJira::JiraVersion

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#archivedObject

Returns the value of attribute archived.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def archived
  @archived
end

#idObject

Returns the value of attribute id.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def id
  @id
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def name
  @name
end

#release_dateObject

Returns the value of attribute release_date.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def release_date
  @release_date
end

#releasedObject

Returns the value of attribute released.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def released
  @released
end

#sequenceObject

Returns the value of attribute sequence.



3
4
5
# File 'lib/better_jira/jira_version.rb', line 3

def sequence
  @sequence
end

Class Method Details

.convert_from_soap(s) ⇒ Object



5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/better_jira/jira_version.rb', line 5

def self.convert_from_soap(s)
  if (s.is_a? SOAP::Mapping::Object) then
    ret = JiraVersion.new
    ret.archived = s.archived
    ret.id = s.id
    ret.name = s.name
    ret.release_date = s.releaseDate
    ret.released = s.released
    ret.sequence = s.sequence
    ret
  end
end