Class: SMS::Thing

Inherits:
Object
  • Object
show all
Defined in:
lib/rubysms/thing.rb

Direct Known Subclasses

App, Backend::Base

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label.



6
7
8
# File 'lib/rubysms/thing.rb', line 6

def label
  @label
end

#routerObject

Returns the value of attribute router.



6
7
8
# File 'lib/rubysms/thing.rb', line 6

def router
  @router
end

Instance Method Details

#incoming(*args) ⇒ Object

stubs to avoid respond_to? or NoMethodError on subclasses



11
# File 'lib/rubysms/thing.rb', line 11

def incoming(*args); end

#outgoing(*args) ⇒ Object



12
# File 'lib/rubysms/thing.rb', line 12

def outgoing(*args); end

#start(*args) ⇒ Object



13
# File 'lib/rubysms/thing.rb', line 13

def start(*args); end

#stop(*args) ⇒ Object



14
# File 'lib/rubysms/thing.rb', line 14

def stop(*args); end