Module: Musashi::Retriever::Base
Instance Attribute Summary
Attributes included from Connection
#endpoint, #format
Instance Method Summary
collapse
Methods included from Connection
#accept, #connection, #options
Instance Method Details
#retrieve(header = {}) ⇒ Object
11
12
13
14
15
|
# File 'lib/musashi/retriever.rb', line 11
def retrieve(={})
response = connection.get(connection.path_prefix, )
@retrieved = true
response.body.extend(VisitorStrategist)
end
|
#retrieved? ⇒ Boolean
7
8
9
|
# File 'lib/musashi/retriever.rb', line 7
def retrieved?
@retrieved ||= false
end
|