Class Wrest::Native::Post

  1. lib/wrest/native/post.rb

Methods

public class

  1. new

Public class methods

new (wrest_uri, body = '', headers = {}, parameters = {}, options = {})
[show source]
    # File lib/wrest/native/post.rb, line 12
12:     def initialize(wrest_uri, body = '', headers = {}, parameters = {}, options = {})
13:       super(
14:         wrest_uri,
15:         Net::HTTP::Post,
16:         parameters,
17:         body,
18:         headers,
19:         options
20:       )
21:     end