Sha256: 73992bb4caef5681c259c9986918568c3f61e3f31100616c6933571b19f9b807
Contents?: true
Size: 435 Bytes
Versions: 5
Compression:
Stored size: 435 Bytes
Contents
module A2z module Requests class BrowseNodeLookup attr_reader :params def initialize(id, &block) @params = { 'Operation' => 'BrowseNodeLookup', 'BrowseNodeId' => id } instance_eval(&block) if block_given? end def response_group(value, &block) response_group = ResponseGroup.new(value, &block) @params.merge!(response_group.params) end end end end
Version data entries
5 entries across 5 versions & 1 rubygems