Class: Dillo::Views

Inherits:
PaginatedCollection show all
Defined in:
lib/dillo.rb

Instance Attribute Summary

Attributes inherited from Base

#connection

Instance Method Summary collapse

Methods inherited from PaginatedCollection

#each, #each_page, #initialize, #page

Methods included from Finders

#[], #method_missing, #respond_to?

Methods inherited from Base

#body, #initialize, #inspect, #json, #prepare_request, root

Constructor Details

This class inherits a constructor from Dillo::PaginatedCollection

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Dillo::Finders

Instance Method Details

#pathObject



198
199
200
# File 'lib/dillo.rb', line 198

def path
  "/api/views"
end

#record_classObject



202
203
204
# File 'lib/dillo.rb', line 202

def record_class
  View
end