Method: Aws::Rest::Request::Headers#initialize

Defined in:
lib/aws-sdk-core/rest/request/headers.rb

#initialize(rules) ⇒ Headers

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 Headers.

Parameters:

  • rules (Seahorse::Model::ShapeRef)


14
15
16
# File 'lib/aws-sdk-core/rest/request/headers.rb', line 14

def initialize(rules)
  @rules = rules
end