class Symgate::Metadata::DataItem
meta data item
Public Class Methods
from_soap(hash)
click to toggle source
# File lib/symgate/metadata/data_item.rb, line 7 def self.from_soap(hash) Symgate::Metadata::DataItem.new( key: hash[:@key], scope: hash[:@scope], value: hash_value_with_optional_namespace(:auth, :value, hash) ) end
Public Instance Methods
to_s()
click to toggle source
# File lib/symgate/metadata/data_item.rb, line 23 def to_s "{DataItem (scope: #{scope}, key #{key}, value #{value})}" end
to_soap()
click to toggle source
# File lib/symgate/metadata/data_item.rb, line 15 def to_soap { :@key => key, :@scope => scope, :auth:value => value } end
Protected Instance Methods
attributes()
click to toggle source
# File lib/symgate/metadata/data_item.rb, line 29 def attributes %i[key value scope] end