class StellarClient::SendPaymentRequest
Constants
- BODY_ATTRS
Private Instance Methods
default_action()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 35 def default_action :post end
default_body()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 39 def default_body BODY_ATTRS.each_with_object({}) do |attr, hash| hash[attr] = send(attr) end end
default_opts()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 51 def default_opts { bridge_host: bridge_host } end
default_uri()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 45 def default_uri uri = Addressable::URI.parse(bridge_host) uri.path = api_client_base_path uri.to_s end
headers()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 31 def headers {"Content-Type" => "application/x-www-form-urlencoded"} end
path()
click to toggle source
# File lib/stellar_client/requests/send_payment_request.rb, line 27 def path "/payment" end