8000 GitHub - andrerferrer/scraping-demo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andrerferrer/scraping-demo

Repository files navigation

GOAL

This is a demo to show-case how to implement a service object.

You can also check my other demos here.

You can download this repo and see it working in localhost:3000.

How was it done?

First, you should implement the logic in the controller and see it working.

Then, you should create the app/services folder (if it doesn't exist yet) and create a PORO (Plain Old Ruby Object) to encapsule your logic. It is good practice to have a method called call to run your service object. After this, it's all about calling this service object in your controller.

Good Luck and Have Fun

To know more:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0