Class: MisarBlog::Models::SeriesList

Inherits:
Base
  • Object
show all
Defined in:
lib/misarblog/models.rb

Overview

Result of GET /series.

Instance Attribute Summary

Attributes inherited from Base

#raw

Instance Method Summary collapse

Methods inherited from Base

#[], #initialize, #to_h

Constructor Details

This class inherits a constructor from MisarBlog::Models::Base

Instance Method Details

#seriesObject



56
# File 'lib/misarblog/models.rb', line 56

def series; (@raw["series"] || []).map { |s| Series.new(s) }; end