Sends an UNLOCK request to the server; returns an instance of a subclass of Net::HTTPResponse
.
The request is based on the Net::HTTP::Unlock
object created from string path
, string body
, and initial headers hash initheader
.
data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}' http = Net::HTTP.new(hostname) http.unlock('/todos/1', data)
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
def operator: () -> String
def operator: () -> String
Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator
.
Register a listener for one or more events.
def register: (Listener, *Symbol) -> void
Mirrors the C extension’s StringQuery::local?
method.
Parse the enum result and return an appropriate boolean.
Whether or not this string is a valid local variable name.
A Location
instance that represents the location of this node in the source.
def operator: () -> String
def operator: () -> String