Module: Intercom::Options

Included in:
Client
Defined in:
lib/intercom/options.rb

Instance Method Summary collapse

Instance Method Details

#options(*opts) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/intercom/options.rb', line 3

def options(*opts)
  previous = nil
  opts.each do |opt|
    previous = opt.call(self)
  end
  previous
end