A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Seahorse/Model/Shapes/Shape.html below:

Shape — AWS SDK for Ruby V2

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Seahorse::Model::Shapes::Shape
Inherits:
Object show all
Defined in:
aws-sdk-core/lib/seahorse/model/shapes.rb
Instance Attribute Summary collapse Instance Method Summary collapse Constructor Details #initializeShape

Returns a new instance of Shape.

72
73
74
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 72

def initialize
  @metadata = {}
end
Instance Attribute Details #documentation ⇒ String?
80
81
82
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 80

def documentation
  @documentation
end
#name ⇒ String
77
78
79
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 77

def name
  @name
end
Instance Method Details #[](key) ⇒ Object

Gets metadata for the given key.

83
84
85
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 83

def [](key)
  @metadata[key.to_s]
end
#[]=(key, value) ⇒ Object

Sets metadata for the given key.

88
89
90
# File 'aws-sdk-core/lib/seahorse/model/shapes.rb', line 88

def []=(key, value)
  @metadata[key.to_s] = value
end

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4