Sha256: d77073d0cffe5e5149fcd3928d598a60f75df0c48f114581d8be36e9ba9a2d94

Contents?: true

Size: 390 Bytes

Versions: 18

Compression:

Stored size: 390 Bytes

Contents

# frozen_string_literal: true

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

18 entries across 18 versions & 1 rubygems

Version Path
eve_online-0.46.0 lib/eve_online/esi/models/base.rb
eve_online-0.45.0 lib/eve_online/esi/models/base.rb
eve_online-0.44.0 lib/eve_online/esi/models/base.rb
eve_online-0.43.0 lib/eve_online/esi/models/base.rb
eve_online-0.42.0 lib/eve_online/esi/models/base.rb
eve_online-0.41.0 lib/eve_online/esi/models/base.rb
eve_online-0.40.0 lib/eve_online/esi/models/base.rb
eve_online-0.39.0 lib/eve_online/esi/models/base.rb
eve_online-0.38.0 lib/eve_online/esi/models/base.rb
eve_online-0.37.0 lib/eve_online/esi/models/base.rb
eve_online-0.36.0 lib/eve_online/esi/models/base.rb
eve_online-0.35.1 lib/eve_online/esi/models/base.rb
eve_online-0.35.0 lib/eve_online/esi/models/base.rb
eve_online-0.34.0 lib/eve_online/esi/models/base.rb
eve_online-0.33.0 lib/eve_online/esi/models/base.rb
eve_online-0.32.0 lib/eve_online/esi/models/base.rb
eve_online-0.31.0 lib/eve_online/esi/models/base.rb
eve_online-0.30.0 lib/eve_online/esi/models/base.rb