Sha256: 97111b7347f6100fa20a373ef052f23ac89d9321fccf8213a1ede2fe16fde04d

Contents?: true

Size: 359 Bytes

Versions: 2

Compression:

Stored size: 359 Bytes

Contents

require 'active_support/time'

module EveOnline
  module ESI
    module Models
      class Base
        attr_reader :options

        def initialize(options)
          @options = options
        end

        private

        def parse_datetime_with_timezone(value)
          ActiveSupport::TimeZone['UTC'].parse(value)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eve_online-0.14.0 lib/eve_online/esi/models/base.rb
eve_online-0.13.0 lib/eve_online/esi/models/base.rb