Sha256: 7f35ce9d45a99d1b5ab1deb28ffccdb3192d9e66f71e11b0a95b44ceaa827551
Contents?: true
Size: 401 Bytes
Versions: 25
Compression:
Stored size: 401 Bytes
Contents
module Isomorfeus module Puppetmaster class Request def initialize(request_hash = {}) @request_hash = request_hash ? request_hash : {} end def method_missing(name, *args) if %i[failure headers method post_data resource_type url].include?(name) @request_hash[name.to_s] else super(name, *args) end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems