Method: XRBP::Model::Base#set_opts
- Defined in:
- lib/xrbp/model/base.rb
#set_opts(opts = {}) ⇒ Object
21 22 23 24 25 |
# File 'lib/xrbp/model/base.rb', line 21 def set_opts(opts={}) @opts ||= {} @opts.merge!(opts) @connection = opts[:connection] if opts[:connection] end |