Class: Moogle::Requests::PushBlogEntry

Inherits:
Object
  • Object
show all
Includes:
Aequitas, Serf::Message, Serf::More::UuidFields, Virtus
Defined in:
lib/moogle/requests/push_blog_entry.rb

Overview

A request to create a blog entry at a target blog supporting the ‘metaWeblog.newPost’ api.

Instance Method Summary collapse

Instance Method Details

#hostObject



50
51
52
53
# File 'lib/moogle/requests/push_blog_entry.rb', line 50

def host
  uri = Addressable::URI.parse rpc_uri
  return uri.host
end

#pathObject



55
56
57
58
# File 'lib/moogle/requests/push_blog_entry.rb', line 55

def path
  uri = Addressable::URI.parse rpc_uri
  return uri.path
end

#portObject



60
61
62
63
# File 'lib/moogle/requests/push_blog_entry.rb', line 60

def port
  uri = Addressable::URI.parse rpc_uri
  return uri.port
end

#subjectObject

Parameters that make up the BlogEntry.



30
# File 'lib/moogle/requests/push_blog_entry.rb', line 30

attribute :subject, String

#target_idObject

House Keeping fields



23
# File 'lib/moogle/requests/push_blog_entry.rb', line 23

attribute :target_id, Integer