class Symgate::Wordlist::Info
contains information about a wordlist
Public Class Methods
from_soap(hash)
click to toggle source
# File lib/symgate/wordlist/info.rb, line 7 def self.from_soap(hash) Symgate::Wordlist::Info.new( name: hash_value_with_optional_namespace(:wl, :name, hash), context: hash_value_with_optional_namespace(:wl, :context, hash), uuid: hash_value_with_optional_namespace(:wl, :uuid, hash), engine: hash_value_with_optional_namespace(:wl, :engine, hash), scope: hash_value_with_optional_namespace(:wl, :scope, hash), readonly: hash_value_with_optional_namespace(:wl, :readonly, hash), entry_count: hash_value_with_optional_namespace(:wl, :entrycount, hash).to_i, last_change: hash_value_with_optional_namespace(:wl, :lastchange, hash) ) end
Public Instance Methods
to_s()
click to toggle source
# File lib/symgate/wordlist/info.rb, line 20 def to_s "{#{@context} Wordlist: \"#{@name}\"/#{@uuid} (#{@engine}, #{@entry_count} entries)}" end
Protected Instance Methods
attributes()
click to toggle source
# File lib/symgate/wordlist/info.rb, line 26 def attributes %i[name context uuid entry_count last_change engine scope readonly] end