Sha256: cb323646a067212429d2f33f256bd0754c6350173232c8d7ad8c57cb79da5416
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 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 # no longer to care about the value if nil or not def add_agent_attribute(key, value) @agent_attributes[key] = value end def merge_request_parameters(hash) @request_params.merge!(hash) if hash end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tingyun_rpm-1.2.0 | lib/ting_yun/agent/transaction/attributes.rb |