lib/ury_rapid/baps/responses/parser.rb
def parse_command(raw_code)
          code, subcode = raw_code.split
          @expected = structure_with_code(code)
          @response = response_with_code(code, subcode)
        end
# Parses a command word and sets up to parse the following arguments
#
# @api private
#
# @param raw_code [CommandWord] The raw code word from the BAPS server.
#
# @return [void]
Parses a command word and sets up to parse the following arguments
Parses a command word and sets up to parse the following arguments
def parse_command(raw_code)
          code, subcode = raw_code.split
          @expected = structure_with_code(code)
          @response = response_with_code(code, subcode)
        end
def parse_command ( raw_code ) code , subcode = raw_code . split @expected = structure_with_code ( code ) @response = response_with_code ( code , subcode ) end
Parses a command word and sets up to parse the following arguments
Parses a command word and sets up to parse the following arguments
None
void
raw_code
The raw code word from the BAPS server.
The raw code word from the BAPS server .
api
None