Class: Facebooker::BeboAdapter
Instance Method Summary
collapse
Methods inherited from AdapterBase
#api_server_base_url, default_adapter, #facebook_path_prefix, #facebook_path_prefix=, #facebooker_config, facebooker_config, #initialize, load_adapter
Instance Method Details
#api_rest_path ⇒ Object
12
13
14
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 12
def api_rest_path
"/restserver.php"
end
|
#api_server_base ⇒ Object
8
9
10
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 8
def api_server_base
'apps.bebo.com'
end
|
#canvas_server_base ⇒ Object
4
5
6
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 4
def canvas_server_base
"apps.bebo.com"
end
|
#install_url_base ⇒ Object
29
30
31
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 29
def install_url_base
"http://#{www_server_base_url}/c/apps/add?ApiKey=#{api_key}&v=1.0"
end
|
#is_for?(application_context) ⇒ Boolean
16
17
18
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 16
def is_for?(application_context)
application_context == :bebo
end
|
#login_url_base ⇒ Object
25
26
27
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 25
def login_url_base
"http://#{www_server_base_url}/SignIn.jsp?ApiKey=#{api_key}&v=1.0"
end
|
#www_server_base_url ⇒ Object
20
21
22
|
# File 'lib/facebooker/adapters/bebo_adapter.rb', line 20
def www_server_base_url
"www.bebo.com"
end
|