Class: XingApi::Base
- Inherits:
-
Object
show all
- Defined in:
- lib/xing_api/base.rb
Direct Known Subclasses
Activity, Activity::Comment, Activity::Like, Bookmark, Contact, Contact::Tag, ContactRequest, Conversation, Conversation::Attachment, Conversation::Message, Group, Group::Forum, Group::Forum::Post, Group::MediaPreview, Group::Post, Group::Post::Comment, Group::Post::Comment::Like, Group::Post::Like, Invite, Job, News::Article, News::Article::Like, News::Page, News::Page::Article, ProfileMessage, ProfileVisit, User, User::BirthDate, User::BusinessAddress, User::Company, User::Language, User::Photo, User::PrivateAddress, User::Qualification, User::Recommendation, User::School, User::WebProfile
Class Method Summary
collapse
Class Method Details
.request(http_verb, url, options = {}) ⇒ Object
4
5
6
7
|
# File 'lib/xing_api/base.rb', line 4
def request(http_verb, url, options = {})
client = options.delete(:client) || default_client
client.request(http_verb, url, options)
end
|
.request_with_body(http_verb, url, body_hash, options = {}) ⇒ Object
9
10
11
12
|
# File 'lib/xing_api/base.rb', line 9
def request_with_body(http_verb, url, body_hash, options = {})
client = options.delete(:client) || default_client
client.request_with_body(http_verb, url, body_hash)
end
|