Module: OBSWS::Mixin::Meta
Instance Method Summary collapse
Methods included from Util::String
Instance Method Details
#make_field_methods(*params) ⇒ Object
6 7 8 9 10 |
# File 'lib/obsws/mixin.rb', line 6 def make_field_methods(*params) params.each do |param| define_singleton_method(snakecase(param.to_s)) { @resp[param] } end end |