Class: Symgate::Metadata::DataItem
- Defined in:
- lib/symgate/metadata/data_item.rb
Overview
meta data item
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Type
#==, hash_value_with_optional_namespace, #initialize
Constructor Details
This class inherits a constructor from Symgate::Type
Class Method Details
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/symgate/metadata/data_item.rb', line 23 def to_s "{DataItem (scope: #{scope}, key #{key}, value #{value})}" end |
#to_soap ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/symgate/metadata/data_item.rb', line 15 def to_soap { %s(@key) => key, %s(@scope) => scope, %s(auth:value) => value } end |