Class: EveOnline::ESI::Models::HomeLocation

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/home_location.rb

Instance Attribute Summary

Attributes inherited from Base

#options

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from EveOnline::ESI::Models::Base

Instance Method Details

#as_jsonObject



7
8
9
10
11
12
# File 'lib/eve_online/esi/models/home_location.rb', line 7

def as_json
  {
    location_id: location_id,
    location_type: location_type
  }
end

#location_idObject



14
15
16
# File 'lib/eve_online/esi/models/home_location.rb', line 14

def location_id
  options['location_id']
end

#location_typeObject



18
19
20
# File 'lib/eve_online/esi/models/home_location.rb', line 18

def location_type
  options['location_type']
end