Sha256: 8dd001ee3086423a0d7de8846233e99c1d61d1345e293a376afb916889d1b3cf

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.14.0 lib/eve_online/esi/models/loyalty_point.rb
eve_online-0.13.0 lib/eve_online/esi/models/loyalty_point.rb