Module: Improvmx::Utils
- Included in:
- Client
- Defined in:
- lib/improvmx/utils.rb
Overview
Utils to help processing data
Instance Method Summary collapse
-
#forward(forward_to) ⇒ Object
Parse the forward to parameter into a comma separated string.
Instance Method Details
#forward(forward_to) ⇒ Object
Parse the forward to parameter into a comma separated string
9 10 11 12 13 |
# File 'lib/improvmx/utils.rb', line 9 def forward(forward_to) return forward_to.join(',') if forward_to.is_a? Array forward_to end |