Sha256: 4e1f55c7e4853bc9d82df6cd2373b5884d88825e8addab8f2b2a5cfbb77f6937
Contents?: true
Size: 576 Bytes
Versions: 5
Compression:
Stored size: 576 Bytes
Contents
module PortaText module Command # This class holds the descriptor with the needed information to call an # endpoint. # # Author:: Marcelo Gornstein (mailto:marcelog@portatext.com) # Copyright:: Copyright (c) 2015 PortaText # License:: Apache-2.0 class Descriptor attr_accessor :uri attr_accessor :method attr_accessor :headers attr_accessor :body def initialize(uri, method, headers, body) @uri = uri @method = method @headers = headers @body = body end end end end
Version data entries
5 entries across 5 versions & 1 rubygems