class Seahorse::Model::Shapes::Shape

Attributes

documentation[RW]

@return [String, nil]

name[RW]

@return [String]

Public Class Methods

new() click to toggle source
# File lib/seahorse/model/shapes.rb, line 60
def initialize
  @metadata = {}
end

Public Instance Methods

[](key) click to toggle source

Gets metadata for the given `key`.

# File lib/seahorse/model/shapes.rb, line 71
def [](key)
  @metadata[key.to_s]
end
[]=(key, value) click to toggle source

Sets metadata for the given `key`.

# File lib/seahorse/model/shapes.rb, line 76
def []=(key, value)
  @metadata[key.to_s] = value
end