Class: JIRA::ServerInfo

Inherits:
Entity
  • Object
show all
Defined in:
lib/jiraSOAP/entities/server_info.rb

Overview

Only contains basic information about the endpoint server and only used by RemoteAPI#server_info.

Instance Method Summary collapse

Methods inherited from Entity

add_attribute, inherited, #initialize_with_xml, new_with_xml

Instance Method Details

#base_urlNSURL, URI::HTTP

Returns:



7
# File 'lib/jiraSOAP/entities/server_info.rb', line 7

add_attribute :base_url, 'baseUrl', :to_url

#build_dateTime

Returns:

  • (Time)


10
# File 'lib/jiraSOAP/entities/server_info.rb', line 10

add_attribute :build_date, 'buildDate', :to_iso_date

#build_numberNumber

Returns:

  • (Number)


13
# File 'lib/jiraSOAP/entities/server_info.rb', line 13

add_attribute :build_number, 'buildNumber', :to_i

#editionString

Returns:

  • (String)


16
# File 'lib/jiraSOAP/entities/server_info.rb', line 16

add_attribute :edition, 'edition', :content

#server_timeArray<JIRA::TimeInfo>

Returns:



22
# File 'lib/jiraSOAP/entities/server_info.rb', line 22

add_attribute :server_time, 'serverTime', [:children_as_object, JIRA::TimeInfo]

#versionString

Returns:

  • (String)


19
# File 'lib/jiraSOAP/entities/server_info.rb', line 19

add_attribute :version, 'version', :content