Class: Puree::REST::Publisher
Overview
Requests for the Publisher resource
Instance Method Summary collapse
- #approved(params: {}, accept: :xml) ⇒ HTTP::Response
-
#initialize(config) ⇒ Publisher
constructor
A new instance of Publisher.
Methods inherited from Base
#all, #find, #orderings, #renderings
Constructor Details
#initialize(config) ⇒ Publisher
Returns a new instance of Publisher.
10 11 12 |
# File 'lib/puree/rest/publisher.rb', line 10 def initialize(config) super end |
Instance Method Details
#approved(params: {}, accept: :xml) ⇒ HTTP::Response
15 16 17 18 19 |
# File 'lib/puree/rest/publisher.rb', line 15 def approved(params: {}, accept: :xml) get_request_collection_subcollection(subcollection: 'approved', params: params, accept: accept) end |