Sha256: 240a2a38207047f78bfa4a859e2952869509ae08588284144abf54e5183c30e3
Contents?: true
Size: 1.05 KB
Versions: 16
Compression:
Stored size: 1.05 KB
Contents
# frozen_string_literal: true module EveOnline module ESI module Models class Alliance < Base def as_json { creator_corporation_id: creator_corporation_id, creator_id: creator_id, date_founded: date_founded, executor_corporation_id: executor_corporation_id, faction_id: faction_id, name: name, ticker: ticker } end def creator_corporation_id options["creator_corporation_id"] end def creator_id options["creator_id"] end def date_founded date_founded = options["date_founded"] parse_datetime_with_timezone(date_founded) if date_founded end def executor_corporation_id options["executor_corporation_id"] end def faction_id options["faction_id"] end def name options["name"] end def ticker options["ticker"] end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems