class Marver::KeyDate
Attributes
date[R]
type[R]
Public Class Methods
new(json)
click to toggle source
# File lib/marver/entities/key_date.rb, line 5 def initialize(json) @type = json['type'] @date = Date.parse(json['date']) end