Class: EveOnline::ESI::Models::Standing

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

def as_json
  {
    from_id: from_id,
    from_type: from_type,
    standing: standing
  }
end

#from_idObject



15
16
17
# File 'lib/eve_online/esi/models/standing.rb', line 15

def from_id
  options['from_id']
end

#from_typeObject



19
20
21
# File 'lib/eve_online/esi/models/standing.rb', line 19

def from_type
  options['from_type']
end

#standingObject



23
24
25
# File 'lib/eve_online/esi/models/standing.rb', line 23

def standing
  options['standing']
end