ericchapman / ruby_wamp_client

WAMP Client for Ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty args will omit kwargs on some message types

ericchapman opened this issue · comments

The code for additional fields is skipping kwargs if args is 'nil' or 'empty'. See below

        return payload if (self.arguments.nil? or self.arguments.empty?)
        payload.push(self.arguments)

        return payload if (self.argumentskw.nil? or self.argumentskw.empty?)
        payload.push(self.argumentskw)