Method: Hive::Broadcast.custom_binary
- Defined in:
- lib/hive/broadcast.rb
.custom_binary(options, &block) ⇒ Object
The semmantics for this operation are the same as the custom_json operation, but with a binary payload.
819 820 821 822 823 824 825 826 827 |
# File 'lib/hive/broadcast.rb', line 819 def self.custom_binary(, &block) required_fields = %i(id data) params = [:params] check_required_fields(params, *required_fields) ops = [[:custom_binary, params]] process(.merge(ops: ops), &block) end |