File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ def self.decode(data)
31
31
# options - Hash of options.
32
32
# :allow_undefined_methods - Allow relations to call all the HTTP verbs,
33
33
# not just the ones defined.
34
- # :hurley - Optional Hurley::Client to use.
34
+ # :client - Optional client to use for requests .
35
35
# :links_parser - Optional parser to parse link relations
36
36
# Defaults: Sawyer::LinkParsers::Hal.new
37
37
# :serializer - Optional serializer Class. Defaults to
38
38
# self.serializer_class.
39
39
#
40
- # Yields the Hurley::Client if a block is given.
40
+ # Yields the client if a block is given.
41
41
def initialize ( endpoint , options = nil )
42
42
@endpoint = endpoint
43
43
@client = ( options && options [ :hurley ] ) || Hurley ::Client . new ( @endpoint )
@@ -68,7 +68,7 @@ def start
68
68
call :get , @endpoint
69
69
end
70
70
71
- # Makes a request through Hurley .
71
+ # Makes a request through the client .
72
72
#
73
73
# method - The Symbol name of an HTTP method.
74
74
# url - The String URL to access. This can be relative to the Agent's
You can’t perform that action at this time.
0 commit comments