class JIRA::Resource::ServerInfo

Public Class Methods

all(client, options = {}) click to toggle source
# File lib/jira/resource/serverinfo.rb, line 11
def self.all(client, options = {})
  response = client.get(collection_path(client))
  json = parse_json(response.body)
  new(client, { attrs: json }.merge(options))
end
endpoint_name() click to toggle source
# File lib/jira/resource/serverinfo.rb, line 7
def self.endpoint_name
  'serverInfo'
end