Class: Temporalio::Internal::ProtoUtils::LazySearchAttributes
- Inherits:
-
Object
- Object
- Temporalio::Internal::ProtoUtils::LazySearchAttributes
- Defined in:
- lib/temporalio/internal/proto_utils.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(raw_search_attributes) ⇒ LazySearchAttributes
constructor
A new instance of LazySearchAttributes.
Constructor Details
#initialize(raw_search_attributes) ⇒ LazySearchAttributes
Returns a new instance of LazySearchAttributes.
154 155 156 |
# File 'lib/temporalio/internal/proto_utils.rb', line 154 def initialize(raw_search_attributes) @raw_search_attributes = raw_search_attributes end |
Instance Method Details
#get ⇒ Object
158 159 160 161 |
# File 'lib/temporalio/internal/proto_utils.rb', line 158 def get @search_attributes = SearchAttributes._from_proto(@raw_search_attributes) unless defined?(@search_attributes) @search_attributes end |