Class: XRPC::Query
- Inherits:
-
BaseLexicon
- Object
- BaseLexicon
- XRPC::Query
- 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
Constructor Details
This class inherits a constructor from XRPC::BaseLexicon
Instance Method Details
#make_request(payload) ⇒ Object
50 51 52 |
# File 'lib/xrpc/lexicon.rb', line 50 def make_request(payload) HTTParty.get(base_url, query: payload, headers: headers).parsed_response end |