Class: PactBroker::Client::Hal::EntryPoint

Inherits:
Link
  • Object
show all
Defined in:
lib/pact_broker/client/hal/entry_point.rb

Instance Attribute Summary

Attributes inherited from Link

#href, #request_method

Instance Method Summary collapse

Methods inherited from Link

#delete, #delete!, #expand, #get, #get!, #name, #patch, #patch!, #post, #post!, #put, #put!, #run, #title, #title_or_name

Constructor Details

#initialize(url, http_client) ⇒ EntryPoint

Returns a new instance of EntryPoint.



7
8
9
# File 'lib/pact_broker/client/hal/entry_point.rb', line 7

def initialize(url, http_client)
  super({ "href" => url }, http_client)
end