Sha256: 2660b2e0175d341e0adb8342de567915430dfb66c0def8c71d9872add0b31122

Contents?: true

Size: 169 Bytes

Versions: 5

Compression:

Stored size: 169 Bytes

Contents

module Marver
  class KeyDate
    attr_reader :type, :date

    def initialize(json)
      @type = json['type']
      @date = Date.parse(json['date'])
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
marver-0.1.0 lib/marver/entities/key_date.rb
marver-0.0.6 lib/marver/entities/key_date.rb
marver-0.0.5 lib/marver/entities/key_date.rb
marver-0.0.4 lib/marver/entities/key_date.rb
marver-0.0.2 lib/marver/entities/common/key_date.rb