Sha256: 58ec6dd7c6edefb139791a5266856a69a24f2913e777b9de47fabf423a5d0c9b

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

module EveOnline
  module Characters
    # https://eveonline-third-party-documentation.readthedocs.org/en/latest/xmlapi/character/char_calendareventattendees.html
    class CalendarEventAttendees < BaseXML
      API_ENDPOINT = 'https://api.eveonline.com/char/CalendarEventAttendees.xml.aspx'.freeze

      attr_reader :key_id, :v_code, :character_id, :event_id

      def initialize(key_id, v_code, character_id, event_id)
        super()
        @key_id = key_id
        @v_code = v_code
        @character_id = character_id
        @event_id = event_id
      end

      def url
        "#{ API_ENDPOINT }?keyID=#{ key_id }&vCode=#{ v_code }&characterID=#{ character_id }&eventIDs=#{ event_id }"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.8.0 lib/eve_online/characters/calendar_event_attendees.rb
eve_online-0.7.0 lib/eve_online/characters/calendar_event_attendees.rb