The whole class looks like this:
@attributes = params
@title = attributes['title']
@description = attributes['description']
@reference_name = attributes['reference_name']
@action_key = attributes['action_key']
The initialize method sets up the class by just creating a hash that is the attributes hash and then the rest of the methods are just pulling out specific pieces from that hash. I’m not sure if by the end of this project, this class will be separate, but to me, it felt like it was doing different stuff than the ActionFetch class so I chose to separate it out.