Class: Roseflow::LinkedIn::Job::ProfileQuery
- Inherits:
-
Proxycurl::ProxycurlObject
- Object
- Dry::Struct
- Proxycurl::ProxycurlObject
- Roseflow::LinkedIn::Job::ProfileQuery
- Defined in:
- lib/roseflow/linkedin/job/profile_query.rb
Defined Under Namespace
Classes: ProfileQueryContract
Class Method Summary collapse
Class Method Details
.new(input) ⇒ Object
24 25 26 27 28 |
# File 'lib/roseflow/linkedin/job/profile_query.rb', line 24 def self.new(input) validation = self.contract_object.new.call(input) raise ArgumentError, validation.errors.to_h.inspect unless validation.success? super(input) end |