Class: EveOnline::ESI::Models::SystemJump

Inherits:
Base
  • Object
show all
Defined in:
lib/eve_online/esi/models/system_jump.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/system_jump.rb', line 7

def as_json
  {
    ship_jumps: ship_jumps,
    system_id: system_id
  }
end

#ship_jumpsObject



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

def ship_jumps
  options["ship_jumps"]
end

#system_idObject



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

def system_id
  options["system_id"]
end