Sha256: 3d0ffd0720c17757a92260963bd4400fd551293ff1c235f9f69661659b47f06d
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
module EveOnline module ESI module Models class Character < Base def as_json { corporation_id: corporation_id, birthday: birthday, name: name, gender: gender, race_id: race_id, bloodline_id: bloodline_id, description: description, alliance_id: alliance_id, ancestry_id: ancestry_id, security_status: security_status, faction_id: faction_id } end def corporation_id options['corporation_id'] end def birthday birthday = options['birthday'] parse_datetime_with_timezone(birthday) if birthday end def name options['name'] end def gender options['gender'] end def race_id options['race_id'] end def bloodline_id options['bloodline_id'] end def description options['description'] end def alliance_id options['alliance_id'] end def ancestry_id options['ancestry_id'] end def security_status options['security_status'] end def faction_id options['faction_id'] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.14.0 | lib/eve_online/esi/models/character.rb |