Sha256: 94116f53c1756b255229870421aaff065c3aa7a510810c28cca228b1747102d5

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

module EveOnline
  module ESI
    module Models
      class HomeLocation < Base
        def as_json
          {
            location_id: location_id,
            location_type: location_type
          }
        end

        def location_id
          options['location_id']
        end

        def location_type
          options['location_type']
        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/home_location.rb
eve_online-0.13.0 lib/eve_online/esi/models/home_location.rb