Sha256: 7b085ab04aef6696ffce5ab56e5cc55aaafcfc6c1d9e29162ab6f9cbe194aca0
Contents?: true
Size: 512 Bytes
Versions: 4
Compression:
Stored size: 512 Bytes
Contents
# encoding: utf-8 module TingYun module Agent class Transaction class Attributes attr_accessor :agent_attributes, :request_params def initialize @agent_attributes = {} @request_params = {} end def add_agent_attribute(key, value) return if value.nil? @agent_attributes[key] = value end def merge_request_parameters(hash) @request_params.merge!(hash) if hash end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems