Sha256: bf32780a2ac3845b0e3819c7d766b176aba607193b21dc46b84695f4df81f2de

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

module EveOnline
  module ESI
    module Models
      class LoyaltyPoint
        attr_reader :options

        def initialize(options)
          @options = options
        end

        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

1 entries across 1 versions & 1 rubygems

Version Path
eve_online-0.12.0 lib/eve_online/esi/models/loyalty_point.rb