Class: XRPC::Procedure

Inherits:
BaseLexicon show all
Defined in:
lib/xrpc/lexicon.rb

Instance Attribute Summary

Attributes inherited from BaseLexicon

#args_list, #headers, #lexicon, #server

Instance Method Summary collapse

Methods inherited from BaseLexicon

#call, #initialize

Constructor Details

This class inherits a constructor from XRPC::BaseLexicon

Instance Method Details

#make_request(payload) ⇒ Object



56
57
58
# File 'lib/xrpc/lexicon.rb', line 56

def make_request(payload)
  HTTParty.post(base_url, body: payload, headers: headers).parsed_response
end