Skip to content

Commit

Permalink
added get account balance
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Hepler committed Feb 23, 2017
1 parent 13899e9 commit 6863749
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace OldTimeGuitarGuy\MechanicalTurk\Operations;

/**
* The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account.
*
* http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetAccountBalanceOperation.html
*/
class GetAccountBalance extends Base\Operation
{
/**
* Determine if the given parameters satisfy this operation's requirements
*
* @param array $parameters
*
* @return boolean
*/
protected function satisfiesRequirements(array $parameters)
{
return true;
}
}
1 change: 1 addition & 0 deletions src/OldTimeGuitarGuy/MechanicalTurk/Requester.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class Requester implements Contracts\Requester
'registerHITType' => Operations\RegisterHITType::class,
'rejectAssignment' => Operations\RejectAssignment::class,
'approveAssignment' => Operations\ApproveAssignment::class,
'getAccountBalance' => Operations\GetAccountBalance::class,
'getReviewableHITs' => Operations\GetReviewableHITs::class,
'setHITAsReviewing' => Operations\SetHITAsReviewing::class,
'getAssignmentsForHIT' => Operations\GetAssignmentsForHIT::class,
Expand Down

0 comments on commit 6863749

Please sign in to comment.