Class: Restfulie::Client::EntryPoint

Inherits:
Object
  • Object
show all
Extended by:
HTTP::RecipeModule
Defined in:
lib/restfulie/client/entry_point.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from HTTP::RecipeModule

configuration_for, configuration_of, recipe, retrieve

Constructor Details

#initialize(requester) ⇒ EntryPoint

Returns a new instance of EntryPoint.



46
47
48
# File 'lib/restfulie/client/entry_point.rb', line 46

def initialize(requester)
  @requester = requester
end

Class Method Details

.at(uri) ⇒ Object



50
51
52
53
54
55
56
57
# File 'lib/restfulie/client/entry_point.rb', line 50

def self.at(uri)
  Restfulie.using {
    recipe
    follow_link
    request_marshaller
    verb_request
  }.at(uri)
end