Class: Finlight::SourceService
- Inherits:
-
Object
- Object
- Finlight::SourceService
- Defined in:
- lib/finlight/source_service.rb
Overview
Lists the news sources available through the API.
Instance Method Summary collapse
-
#get_sources ⇒ Array<Source>
All available news sources.
-
#initialize(api_client) ⇒ SourceService
constructor
A new instance of SourceService.
Constructor Details
#initialize(api_client) ⇒ SourceService
Returns a new instance of SourceService.
6 7 8 |
# File 'lib/finlight/source_service.rb', line 6 def initialize(api_client) @api_client = api_client end |