Class: JIRA::TimeInfo
- 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#get_server_info is called.
Instance Attribute Summary collapse
- #server_time ⇒ Time
-
#timezone ⇒ String
In the form of ‘America/Toronto’.
Method Summary
Methods inherited from Entity
add_attributes, #initialize_with_xml, new_with_xml
Instance Attribute Details
#server_time ⇒ Time
11 12 13 |
# File 'lib/jiraSOAP/entities/time_info.rb', line 11 def server_time @server_time end |
#timezone ⇒ String
Returns in the form of ‘America/Toronto’.
14 15 16 |
# File 'lib/jiraSOAP/entities/time_info.rb', line 14 def timezone @timezone end |