Sha256: 3683b8d3cc79d7eccde6e7fe79c98b36df642d4930128584b870e7d5e96cca0d

Contents?: true

Size: 701 Bytes

Versions: 2

Compression:

Stored size: 701 Bytes

Contents

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

      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.6.0 lib/eve_online/characters/calendar_event_attendees.rb
eve_online-0.5.0 lib/eve_online/characters/calendar_event_attendees.rb