class T2Server::Administrator::AdminResource
This class represents a resource in the Taverna Server administrative interface. A resource can be read only or read/write.
Resources are created when the parent Administrator class is created and are accessed via the [] method within that class.
Attributes
name[R]
The name of this resource.
uri[R]
The URI of this resource on the server.
Public Instance Methods
value → string
click to toggle source
value=
Get or set the value held by this resource. This call always queries the server as values can change without user intervention.
The resource can only be set if it is writable.
# File lib/t2-server/admin.rb, line 130 def value @admin.get_resource_value(@uri) end
writable? → true or false
click to toggle source
Is this resource writable?
# File lib/t2-server/admin.rb, line 138 def writable? @writeable end