Class: Moogle::Requests::PushBlogEntry
- Inherits:
-
Object
- Object
- Moogle::Requests::PushBlogEntry
- 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
- #host ⇒ Object
- #path ⇒ Object
- #port ⇒ Object
-
#subject ⇒ Object
Parameters that make up the BlogEntry.
-
#target_id ⇒ Object
House Keeping fields.
Instance Method Details
#host ⇒ Object
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 |
#path ⇒ Object
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 |
#port ⇒ Object
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 |
#subject ⇒ Object
Parameters that make up the BlogEntry.
30 |
# File 'lib/moogle/requests/push_blog_entry.rb', line 30 attribute :subject, String |
#target_id ⇒ Object
House Keeping fields
23 |
# File 'lib/moogle/requests/push_blog_entry.rb', line 23 attribute :target_id, Integer |