Class: Forem::Services::ProfileImageService
- Inherits:
-
BaseService
- Object
- BaseService
- Forem::Services::ProfileImageService
- Defined in:
- lib/forem/services/profile_image_service.rb
Overview
Service for interacting with the Forem Profile Images API.
Retrieves profile image URLs for a given user or organization. Access via Client#profile_images. All methods inject the client's requestor automatically so no additional configuration is required.
Instance Method Summary collapse
-
#retrieve(username, opts = {}) ⇒ ProfileImage
Retrieve profile image details for a user or organization by username.
Methods inherited from BaseService
Constructor Details
This class inherits a constructor from Forem::Services::BaseService
Instance Method Details
#retrieve(username, opts = {}) ⇒ ProfileImage
Retrieve profile image details for a user or organization by username.
27 28 29 |
# File 'lib/forem/services/profile_image_service.rb', line 27 def retrieve(username, opts = {}) ProfileImage.retrieve(username, opts_with_requestor(opts)) end |