Sha256: bdd5f07293fc5a529acae3a7b41bd005ae1fbed4032a183087bd79aed9252977
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
module EveOnline module ESI module Models class Corporation < Base def as_json { name: name, ticker: ticker, member_count: member_count, ceo_id: ceo_id, alliance_id: alliance_id, description: description, tax_rate: tax_rate, date_founded: date_founded, creator_id: creator_id, corporation_url: corporation_url, faction_id: faction_id, home_station_id: home_station_id, shares: shares } end def name options['name'] end def ticker options['ticker'] end def member_count options['member_count'] end def ceo_id options['ceo_id'] end def alliance_id options['alliance_id'] end def description options['description'] end def tax_rate options['tax_rate'] end def date_founded date_founded = options['date_founded'] parse_datetime_with_timezone(date_founded) if date_founded end def creator_id options['creator_id'] end def corporation_url options['url'] end def home_station_id options['home_station_id'] end def faction_id options['faction_id'] end def shares options['shares'] 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/corporation.rb |