Class: Giddy::Endpoint
- Inherits:
-
Object
- Object
- Giddy::Endpoint
- Defined in:
- lib/giddy/endpoint.rb
Direct Known Subclasses
Instance Method Summary collapse
- #gettyup(name, data, bodyname = nil, secure = false) ⇒ Object
-
#initialize(mediator, path, secure) ⇒ Endpoint
constructor
A new instance of Endpoint.
Constructor Details
#initialize(mediator, path, secure) ⇒ Endpoint
Returns a new instance of Endpoint.
3 4 5 6 7 |
# File 'lib/giddy/endpoint.rb', line 3 def initialize(mediator, path, secure) @mediator = mediator @path = path @secure = secure end |
Instance Method Details
#gettyup(name, data, bodyname = nil, secure = false) ⇒ Object
9 10 11 |
# File 'lib/giddy/endpoint.rb', line 9 def gettyup(name, data, bodyname=nil, secure=false) @mediator.gettyup @path, name, data, bodyname, @secure end |