README.md in oneaccess-0.4.0 vs README.md in oneaccess-0.4.1
- old
+ new
@@ -244,5 +244,19 @@
resp #=> instance of ONEAccess::Response::ContributorsResponse
rescue ONEAccess::Error::APIError => e
puts "Error getting the list of contributors"
end
```
+
+### Create Inducement _(/providers/inducements)_
+
+Reference endpoint to create inducements for a given research.
+
+#### How to use:
+```ruby
+begin
+ resp = ONEAccess::API::V3_0::Providers.inducements(recipient_user_id: 186, sender_email: "admin@admin.com", subject: "Inducement", email_body: "This email is an inducement.", receive_date: "2018-02-21 19:03:12" )
+ resp #=> instance of ONEAccess::Response::InducementResponse
+rescue ONEAccess::Error::APIError => e
+ puts "Error creating the inducement"
+end
+```