class Seatsio::Month
def self.from_json(data)
def self.from_json(data) return Month.new(data['year'], data['month']) end
def initialize(year, month)
def initialize(year, month) @year = year @month = month end
def serialize
def serialize @year.to_s + "-" + @month.to_s.rjust(2, "0") end