Sha256: 456ec176e8e8d1dd72b5c9b6c220a02fdd62506f5ebe8bf16d1943e84c8478f5
Contents?: true
Size: 815 Bytes
Versions: 3
Compression:
Stored size: 815 Bytes
Contents
# frozen_string_literal: true require_relative "../../response/inducement_response" module ONEAccess module API module V3_0 # rubocop:disable Style/ClassAndModuleCamelCase class Providers < Base api_path "/providers" class << self def inducements(recipient_user_id:, sender_email:, subject:, email_body:, receive_date:) params = { recipientuserid: recipient_user_id, senderemail: sender_email, subject: subject, emailbody: email_body, receivedate: receive_date }.reject { |_, v| v.nil? } resp = send_post("inducements", params) Response::InducementResponse.from_json(resp.body) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oneaccess-0.4.3 | lib/oneaccess/api/v3_0/providers.rb |
oneaccess-0.4.2 | lib/oneaccess/api/v3_0/providers.rb |
oneaccess-0.4.1 | lib/oneaccess/api/v3_0/providers.rb |