Class: Protobuf::Rpc::Interactions::Base
- Inherits:
-
ActiveInteraction::Base
- Object
- ActiveInteraction::Base
- Protobuf::Rpc::Interactions::Base
- Defined in:
- lib/protobuf/rpc/interactions/base.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.except_attributes ⇒ Object
14 15 16 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 14 def except_attributes [].freeze end |
.include_attributes ⇒ Object
18 19 20 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 18 def include_attributes [].freeze end |
Instance Method Details
#presence_inputs ⇒ Object
8 9 10 11 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 8 def presence_inputs # todo: need more fields to let server know specified nil values, otherwise it will be ignored inputs.reject { |k, v| !given?(k) && v.nil? } end |