Sha256: b5888f0238ece138164f6f82a6250b3cdf6e67641bd232817c48609ad2993154

Contents?: true

Size: 200 Bytes

Versions: 5

Compression:

Stored size: 200 Bytes

Contents

class YouTrack::Client::Model
  def self.ms_time
    @_ms_time ||= lambda { |v, _|
      begin
        Time.at(*Integer(v).divmod(1000))
      rescue ArgumentError
        v
      end
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
you_track-0.3.0 lib/you_track/client/model.rb
you_track-0.2.2 lib/you_track/client/model.rb
you_track-0.2.1 lib/you_track/client/model.rb
you_track-0.2.0 lib/you_track/client/model.rb
you_track-0.1.0 lib/you_track/client/model.rb