Method: Layer::Operations::Fetch::ClassMethods#fetch
- Defined in:
- lib/layer/operations/fetch.rb
#fetch(client = self.client) ⇒ Layer::Resource
Fetches the singular resource
11 12 13 14 |
# File 'lib/layer/operations/fetch.rb', line 11 def fetch(client = self.client) response = client.get(url) from_response(response, client) end |