Module: Layer::Operations::List::ClassMethods
- Included in:
- Webhook
- Defined in:
- lib/layer/operations/list.rb
Instance Method Summary collapse
-
#all(client = self.client) ⇒ Enumerable
Finds all resources.
Instance Method Details
#all(client = self.client) ⇒ Enumerable
Finds all resources
11 12 13 14 |
# File 'lib/layer/operations/list.rb', line 11 def all(client = self.client) response = client.get(url) response.map { |attributes| from_response(attributes, client) } end |