Services_Scribd
[ class tree: Services_Scribd ] [ index: Services_Scribd ] [ all elements ]

Class: Services_Scribd_Dummy

Source Location: /Services_Scribd-0.2.0/Services/Scribd/Dummy.php

Class Overview

Services_Scribd
   |
   --Services_Scribd_Common
      |
      --Services_Scribd_Dummy

Contains two simple methods that are only used to satisfy unit testing.


Author(s):

Copyright:

  • 2009 Rich Schumacher <rich.schu@gmail.com>

Methods


Inherited Variables

Inherited Methods

Class: Services_Scribd_Common

Services_Scribd_Common::__construct()
Prevents calls from bubbling up to Serices_Scribd::_construct()
Services_Scribd_Common::call()
Builds, sends, and returns the response for an API request
Services_Scribd_Common::getAvailableEndpoints()
Returns an array of endpoints for this driver
Services_Scribd_Common::sendRequest()
Sends the request to the Scribd API
Services_Scribd_Common::setRequestAdapter()
Sets the request adapter to use for this request
Services_Scribd_Common::__call()
Traps any requests to endpoints that are not defined

Class: Services_Scribd

Services_Scribd::__construct()
Sets the API key and optional API secret
Services_Scribd::getAccount()
Returns the current account instance
Services_Scribd::setAccount()
Sets the Scribd account to use
Services_Scribd::__get()
Loads individual endpoint drivers

Class Details

[line 34]
Contains two simple methods that are only used to satisfy unit testing.


[ Top ]


Method Detail

sendHeadRequest   [line 42]

void sendHeadRequest( )

Attempts to send a request with an unspported HTTP method
  • Throws: Services_Scribd_Exception
  • Access: public

[ Top ]

sendRequestThrowsException   [line 64]

void sendRequestThrowsException( )

Used for testing Services_Scribd_Common::sendRequest()
  • Access: public

[ Top ]

setAPISignatureManually   [line 53]

void setAPISignatureManually( )

Manually sets the api_sig value for the request
  • Throws: Services_Scribd_Exception
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:53:39 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.