Class: DoceboRuby::Parameters

Inherits:
Object
  • Object
show all
Defined in:
lib/docebo_ruby/parameters.rb

Instance Method Summary collapse

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
end

Instance Method Details

#to_sObject


7
8
9
# File 'lib/docebo_ruby/parameters.rb', line 7

def to_s
  @hash.values.join(',')
end