Class: Facebooker::MockSession
- Defined in:
- lib/facebooker/mock/session.rb
Constant Summary
Constants inherited from Session
Session::API_PATH_REST, Session::API_SERVER_BASE_URL, Session::WWW_PATH_ADD, Session::WWW_PATH_INSTALL, Session::WWW_PATH_LOGIN, Session::WWW_SERVER_BASE_URL
Instance Attribute Summary
Attributes inherited from Session
#auth_token, #secret_from_session, #session_key
Instance Method Summary collapse
Methods inherited from Session
#active_template_bundles, #add_next_parameters, #add_tags, #add_to_batch, #admin, api_key, #application, #batch, #batch_request?, #cancel_event, #check_friendship, configuration_file_path, configuration_file_path=, #connect_permission_url, create, #create_event, current, current=, #data, #deactivate_template_bundle_by_id, #default_login_url_options, #edit_event, #event_invite, #event_members, #event_rsvp, #events, #expired?, #fields_to_serialize, #fql_build_object, #fql_multiquery, #fql_query, #get_albums, #get_comments, #get_photos, #get_stream, #get_tags, #infinite?, #initialize, #install_url, #install_url_optional_parameters, #instance_variable_set_value, #instance_variable_value, #is_fan, #login_url, #login_url_optional_parameters, #marshal_dump, #marshal_load, #mobile, #pages, #permission_url, #post, #post_file, #post_without_logging, #publish_user_action, #register_template_bundle, #remove_comment, #secret_for_method, secret_key, #secure_with!, #secure_with_session_secret!, #send_email, #send_notification, #server_cache, #to_yaml, #upload_native_strings, #user, #users, #users_standard
Constructor Details
This class inherits a constructor from Facebooker::Session
Instance Method Details
#secure! ⇒ Object
9 10 11 12 |
# File 'lib/facebooker/mock/session.rb', line 9 def secure! @uid = 1 true end |
#secured? ⇒ Boolean
5 6 7 |
# File 'lib/facebooker/mock/session.rb', line 5 def secured? true end |
#service ⇒ Object
14 15 16 |
# File 'lib/facebooker/mock/session.rb', line 14 def service @service ||= MockService.new(Facebooker.api_server_base, Facebooker.api_rest_path, @api_key) end |