struct IoTivity::Resource

Overview

An IoTivity resource.

Defined in:

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(uri, types, interfaces : Interface | Array(String), default_interface : Interface | String = "", properties : ResourceProperties | String = ResourceProperties::Discoverable) #

Instance Method Detail

def default_interface : Interface #

def interfaces : Interface #

The interfaces supported by this resource


def properties : ResourceProperties #

def types : Array(String) #

A list of all resource types of this resource.


def uri : String #

The URI used to locate this resource.


Macro Detail

macro method_missing(call) #