class Apps::Outlook::Schema::HttpPOST

See: docs.microsoft.com/en-us/outlook/actionable-messages/card-reference#httppost-action

Constants

MIME_TYPES
RESPONSE_HEADERS

CARD-ACTION-STATUS - include header in server HTTP POST response See: docs.microsoft.com/en-us/outlook/actionable-messages/card-reference#reporting-an-actions-execution-success-or-failure CARD-UPDATE-IN-BODY - `true` value indicates to client to refresh content with response body See: docs.microsoft.com/en-us/outlook/actionable-messages/card-reference#refresh-cards

Attributes

body[RW]
body_content_type[RW]
target[RW]

Public Instance Methods

add_header(name, value) click to toggle source
# File lib/apps/outlook/schema/http_post.rb, line 38
def add_header(name, value)
  headers[name] = value
end
headers() click to toggle source
# File lib/apps/outlook/schema/http_post.rb, line 25
def headers
  @headers ||= {}
end
serialize() click to toggle source
Calls superclass method Apps::Outlook::Schema::Action#serialize
# File lib/apps/outlook/schema/http_post.rb, line 29
def serialize
  super.merge(
    "target" => target,
    "headers" => serialize_hash(headers),
    "body" => body,
    "bodyContentType" => body_content_type
  )
end