Method: Hyperclient::EntryPoint#initialize
- Defined in:
- lib/hyperclient/entry_point.rb
#initialize(url) {|_self| ... } ⇒ EntryPoint
Initializes an EntryPoint.
38 39 40 41 42 43 44 45 |
# File 'lib/hyperclient/entry_point.rb', line 38 def initialize(url, &_block) @link = { 'href' => url } @entry_point = self @options = { async: true } @connection = nil @resource = nil yield self if block_given? end |