class ContentfulLite::AssetsArray
Public Class Methods
new(raw)
click to toggle source
@param raw [Hash] raw response from Contentful API @api private
Calls superclass method
# File lib/contentful_lite/assets_array.rb, line 5 def initialize(raw) super(raw) # Create the array of asset objects @items.collect! { |item| ContentfulLite::Asset.new(item) } end