Class: RestfulSharePoint::Webs

Inherits:
Collection show all
Defined in:
lib/restful-sharepoint/collections/webs.rb

Constant Summary

Constants inherited from Collection

Collection::DEFAULT_OPTIONS

Instance Attribute Summary

Attributes inherited from Collection

#connection, #options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Collection

#==, #collection, #collection=, #eql?, #initialize, #next, #to_a, #to_json

Constructor Details

This class inherits a constructor from RestfulSharePoint::Collection

Class Method Details

.object_classObject



4
5
6
# File 'lib/restful-sharepoint/collections/webs.rb', line 4

def self.object_class
  Web
end

Instance Method Details

#endpointObject



8
9
10
# File 'lib/restful-sharepoint/collections/webs.rb', line 8

def endpoint
  "#{@parent}/Webs"
end