Class: Roseflow::LinkedIn::JobListEntry
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Roseflow::LinkedIn::JobListEntry
- Defined in:
- lib/roseflow/linkedin/job_list_entry.rb
Class Method Summary collapse
Class Method Details
.from(input) ⇒ Object
13 14 15 16 17 |
# File 'lib/roseflow/linkedin/job_list_entry.rb', line 13 def self.from(input) entries = input.dig("job") return [] unless entries entries.map { |entry| new(entry.symbolize_keys) } end |