class Sonos::Endpoint::Upnp::Subscription

Simple class structure for describing an active subscription

Attributes

event[RW]
sid[RW]
timeout[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/sonos/endpoint/upnp.rb, line 66
def initialize(hash)
  hash.each do |k, v|
    self.send("#{k}=", v) if respond_to?(k)
  end
end