Sha256: e04da7043f2100cd414f1ec016f33ecc8b9fb6042d7815f332336571831b3feb

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class MailRecipient < Base
        def as_json
          {
            recipient_id: recipient_id,
            recipient_type: recipient_type,
          }
        end

        def recipient_id
          options["recipient_id"]
        end

        def recipient_type
          options["recipient_type"]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eve_online-0.31.0 lib/eve_online/esi/models/mail_recipient.rb