Class: DoceboRuby::Parameters
- Inherits:
-
Object
- Object
- DoceboRuby::Parameters
- Defined in:
- lib/docebo_ruby/parameters.rb
Instance Method Summary collapse
-
#initialize(hash) ⇒ Parameters
constructor
A new instance of Parameters.
- #to_s ⇒ Object
Constructor Details
#initialize(hash) ⇒ Parameters
Returns a new instance of Parameters.
3 4 5 |
# File 'lib/docebo_ruby/parameters.rb', line 3 def initialize(hash) @hash = hash.to_h end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/docebo_ruby/parameters.rb', line 7 def to_s @hash.values.join(',') end |