Class: JIRA::TimeInfo

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

Overview

Simple structure for a time and time zone; only used by JIRA::ServerInfo objects, which themselves are only created when RemoteAPI#server_info is called.

Instance Method Summary collapse

Methods inherited from Entity

add_attribute, inherited, #initialize_with_xml, new_with_xml

Instance Method Details

#server_timeTime

Returns:

  • (Time)


8
# File 'lib/jiraSOAP/entities/time_info.rb', line 8

add_attribute :server_time, 'serverTime', :to_natural_date

#timezoneString

Examples:

'America/Toronto'

Returns:

  • (String)


15
# File 'lib/jiraSOAP/entities/time_info.rb', line 15

add_attribute :timezone, 'timeZoneId', :content