struct IoTivity::Resource
- IoTivity::Resource
- Struct
- Value
- Object
Overview
An IoTivity resource.
Defined in:
Constructors
Instance Method Summary
- #default_interface : Interface
-
#interfaces : Interface
The interfaces supported by this resource
- #properties : ResourceProperties
-
#types : Array(String)
A list of all resource types of this resource.
-
#uri : String
The URI used to locate this resource.
Macro Summary
Constructor Detail
def self.new(uri, types, interfaces : Interface | Array(String), default_interface : Interface | String = "", properties : ResourceProperties | String = ResourceProperties::Discoverable)
#