class PortaText::Command::Descriptor
This class holds the descriptor with the needed information to call an endpoint.
- Author
-
Marcelo Gornstein (marcelog@portatext.com)
- Copyright
-
Copyright © 2015
PortaText
- License
-
Apache-2.0
Attributes
body[RW]
headers[RW]
method[RW]
output_file[RW]
uri[RW]
Public Class Methods
new(uri, method, headers, body, output_file = nil)
click to toggle source
# File lib/portatext/command/descriptor.rb, line 16 def initialize(uri, method, headers, body, output_file = nil) @uri = uri @method = method @headers = headers @body = body @output_file = output_file end