Sha256: e172a0db2c7cae9e73b5e2ad42dd12b41fc4a8510758480e76d26fc2c596ed6a

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

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

      attr_reader :key_id, :v_code, :character_id

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

      def url
        "#{ API_ENDPOINT }?keyID=#{ key_id }&vCode=#{ v_code }&characterID=#{ character_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/contact_notifications.rb
eve_online-0.5.0 lib/eve_online/characters/contact_notifications.rb