Class: Blog::AuthorsController
- Inherits:
-
MainController
- Object
- MainController
- Blog::AuthorsController
- Defined in:
- lib/nexmo_developer/app/controllers/blog/authors_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
2 3 4 5 6 7 |
# File 'lib/nexmo_developer/app/controllers/blog/authors_controller.rb', line 2 def show data = BlogpostParser.fetch_all_published attributes = AuthorParser.(params[:name]) || {} @author = Blog::Author.new(attributes).(data) end |