Class: Imperium::EventFireResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/imperium/event_fire_response.rb

Overview

Note:

This class doesn’t really make sense to be instantiated outside of Imperium::Events#fire

EventResponse is a wrapper for the raw HTTP::Message response from the API

Instance Method Summary collapse

Methods inherited from Response

#coerced_body, #each, #index, #initialize, #known_leader?, #last_contact, #not_found?, #translate_addresses?

Constructor Details

This class inherits a constructor from Imperium::Response

Instance Method Details

#idObject



9
10
11
# File 'lib/imperium/event_fire_response.rb', line 9

def id
  parsed_body['ID']
end