Sha256: 09420c640b078b670ac4aa3380c4b4ee641d9e27c5b73f3f98ab7138be7eb68c
Contents?: true
Size: 240 Bytes
Versions: 12
Compression:
Stored size: 240 Bytes
Contents
module RestfulResource class Request attr_reader :body, :method, :url, :accept def initialize(method, url, accept: 'application/json', body: nil) @method, @url, @accept, @body = method, url, accept, body end end end
Version data entries
12 entries across 12 versions & 1 rubygems