Class: WpRpc::Collection::Attachments

Inherits:
Base
  • Object
show all
Defined in:
lib/wp_rpc/collections/attachments.rb

Instance Method Summary collapse

Methods inherited from Base

#change_attributes, #conn, #initialize, #pattern

Constructor Details

This class inherits a constructor from WpRpc::Base

Instance Method Details

#new(attributes) ⇒ Object



4
5
6
# File 'lib/wp_rpc/collections/attachments.rb', line 4

def new(attributes)
  WpRpc::Attachment.new(attributes, :conn => conn)
end