共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
oss.trustie.net/open_source_projects | 主页 > 开源项目社区 > powncer |
powncer
|
0 | 0 | 3 |
贡献者 | 讨论 | 代码提交 |
Ruby bindings for the Pownce API. Providers abstraction layer over HTTP communications and xml/json seralization. Allows user to deal with native ruby objects.
Example Usage:
notes = Note.find(:one, :from => '/public_note_lists.xml', :params => {:limit => 5})
notes.note.length => 5
User.find('eggie5').blurb => "fighting javascript everyday."
Note.find(1, :params=>{:show_replies => 'false'})
User.find(:one, :from => '/users/eggie5/friends.xml')
User.find(:one, :from => '/users/eggie5/fans.xml')
User.find(:one, :from => '/users/eggie5/fan_of.xml')
User.find(:one, :from => '/users/eggie5/fan_of.xml', :params => {:limit=>'1'})