module Glassfrog::REST::Post
Encapsulates all POST requests.
Public Class Methods
post(client, path, options)
click to toggle source
Sends a POST request. @param client [Glassfrog::Client] Client
that will send the request. @param path [String] Path to send request to. @param options [Hash] Options being sent in the request.
@return [Array<Hash>] Array containing a Hash for the object created.
# File lib/glassfrog/rest/post.rb, line 16 def self.post(client, path, options) Glassfrog::REST::Request.new(client, :post, path, options).perform end