Sha256: 3997a512b380302c24c751f7f92dd749f64d8ffa584b35f7db62ae1920b15d5f
Contents?: true
Size: 347 Bytes
Versions: 4
Compression:
Stored size: 347 Bytes
Contents
module EveOnline class Implant attr_reader :options def initialize(options) @options = options end def as_json { type_id: type_id, type_name: type_name } end def type_id options.fetch('@typeID').to_i end def type_name options.fetch('@typeName') end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
eve_online-0.12.0 | lib/eve_online/implant.rb |
eve_online-0.11.0 | lib/eve_online/implant.rb |
eve_online-0.10.0 | lib/eve_online/implant.rb |
eve_online-0.9.0 | lib/eve_online/implant.rb |