Class: Aws::Binary::EventBuilder Private
- Inherits:
- 
      Object
      
        - Object
- Aws::Binary::EventBuilder
 
- Includes:
- Seahorse::Model::Shapes
- Defined in:
- lib/aws-sdk-core/binary/event_builder.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- #apply(event_type, params) ⇒ Object private
- 
  
    
      #initialize(serializer_class, rules)  ⇒ EventBuilder 
    
    
  
  
  
    constructor
  
  
  
  
  
  private
  
    A new instance of EventBuilder. 
Constructor Details
#initialize(serializer_class, rules) ⇒ EventBuilder
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of EventBuilder.
| 12 13 14 15 | # File 'lib/aws-sdk-core/binary/event_builder.rb', line 12 def initialize(serializer_class, rules) @serializer_class = serializer_class @rules = rules end | 
Instance Method Details
#apply(event_type, params) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
| 17 18 19 20 | # File 'lib/aws-sdk-core/binary/event_builder.rb', line 17 def apply(event_type, params) event_ref = @rules.shape.member(event_type) (event_ref, params) end |