ADD: set defaultTopic as attribute
- the attribute has already been there - just added documentation CLOSES: #6 TIME: 10m
This commit is contained in:
parent
73c60ae498
commit
0643b3af38
@ -113,7 +113,8 @@ sub NTFY_CLIENT_Initialize
|
||||
$hash->{AttrFn} = 'NTFY_Attr';
|
||||
$hash->{ParseFn} = 'NTFY_Parse';
|
||||
$hash->{DeleteFn} = 'NTFY_Delete';
|
||||
$hash->{AttrList} = "defaultTopic "
|
||||
$hash->{AttrList} = "defaultTopic " .
|
||||
""
|
||||
. $readingFnAttributes;
|
||||
|
||||
}
|
||||
@ -372,6 +373,8 @@ sub NTFY_Set
|
||||
sub NTFY_Attr
|
||||
{
|
||||
my ( $cmd, $name, $aName, $aValue ) = @_;
|
||||
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
||||
@ -517,7 +520,12 @@ sub NTFY_Delete
|
||||
|
||||
<a id="NTFY_CLIENT-attrib"></a>
|
||||
<h4>Attributes</h4>
|
||||
No own attributes supported yet.
|
||||
<dl>
|
||||
<dt><b>defaultTopic</b></dt>
|
||||
<dd>
|
||||
Sets the default topic used if no topic is provided within the publish string.
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
=end html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user