Sha256: ebaa67e6241d245e0f8a37238273e9b27665d88bcc71413b66f630ce2f8c5030
Contents?: true
Size: 516 Bytes
Versions: 2
Compression:
Stored size: 516 Bytes
Contents
module Unforlogistics module Core module Emails def get_emails(filters={}) get_request('/emails', filters) end def get_email(id) get_request("/emails/#{id}") end def create_email(attrs={}) post_request('/emails', attrs) end def update_email(id, attrs={}) put_request("/emails/#{id}", attrs) end def set_email_status(id, status) put_request("/emails/#{id}/status", { value: statusĀ }) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unforlogistics-api-0.8 | lib/unforlogistics/core/emails.rb |
unforlogistics-api-0.7 | lib/unforlogistics/core/emails.rb |