Sha256: f14bad382736f3a8fd9bc4abf2267189038b1c343c6b7f4371e4d633431b9999

Contents?: true

Size: 434 Bytes

Versions: 15

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

module EveOnline
  module ESI
    module Models
      class LoyaltyPoint < Base
        def as_json
          {
            corporation_id: corporation_id,
            loyalty_points: loyalty_points
          }
        end

        def corporation_id
          options['corporation_id']
        end

        def loyalty_points
          options['loyalty_points']
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
eve_online-0.29.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.28.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.27.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.26.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.25.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.24.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.23.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.22.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.21.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.20.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.19.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.18.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.17.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.16.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.15.0 lib/eve_online/esi/models/loyalty_point.rb