class ButterCMS::Parsers::AuthorObject

Public Class Methods

call(author) click to toggle source

Returns the new instance of author object from the given attributes

@return [ButterCMS::Author]

# File lib/butter_cms/parsers/author_object.rb, line 7
def self.call(author)
  ::ButterCMS::Author.new(author)
end