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
12 13 14 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 12 def self.except_attributes [].freeze end |
.include_attributes ⇒ Object
16 17 18 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 16 def self.include_attributes [].freeze end |
Instance Method Details
#presence_inputs ⇒ Object
7 8 9 10 |
# File 'lib/protobuf/rpc/interactions/base.rb', line 7 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 |