Sha256: 3950e7c0b89e12aec660a80b740d49f9bf0eb584a0035d12fa3370ec8d819429
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class EventDetails < Base def as_json { date: date, duration: duration, event_id: event_id, importance: importance, owner_id: owner_id, owner_name: owner_name, owner_type: owner_type, event_response: event_response, text: text, title: title } end def date date = options['date'] parse_datetime_with_timezone(date) if date end def duration options['duration'] end def event_id options['event_id'] end def importance options['importance'] end def owner_id options['owner_id'] end def owner_name options['owner_name'] end def owner_type options['owner_type'] end def event_response options['response'] end def text options['text'] end def title options['title'] end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.29.0 | lib/eve_online/esi/models/event_details.rb |
eve_online-0.28.0 | lib/eve_online/esi/models/event_details.rb |
eve_online-0.27.0 | lib/eve_online/esi/models/event_details.rb |