Method: Content#update_author

Defined in:
lib/user/content/content.rb

#update_author(id, data) ⇒ Object

Update author.

Update an author info.

Parameters

id

(Integer) – Author id.

data

(Hash) – Data to be submited.

Example


86
87
88
89
# File 'lib/user/content/content.rb', line 86

def update_author(id, data)
    #FIXME: Author controller doesnt receive data
    return @client.raw("put", "/content/authors/#{id}", nil, data)
end