class OpenKit::Request::Post

Public Class Methods

new(path, req_params) click to toggle source
Calls superclass method OpenKit::Request::Base::new
# File lib/openkit/request/post.rb, line 11
def initialize(path, req_params)
  super :post, PostDelegate.new(path, req_params)
end
to(path, req_params) click to toggle source
# File lib/openkit/request/post.rb, line 7
def self.to(path, req_params)
  new(path, req_params).perform
end