Skip to content

Commit

Permalink
Add missing schema endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
2e3s committed Jul 9, 2018
1 parent 4d4f17e commit 0aa3e71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/Entities/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,12 @@ public function __construct()
'payment-instrument-validation/{paymentInstrumentValidationId}' => function (array $content) {
return PaymentInstrumentValidation::createFromData($content);
},
'subscription-reactivations' => function (array $content) {
return new Collection(new SubscriptionReactivation(), $content);
},
'subscription-reactivations/{reactivationId}' => function (array $content) {
return new SubscriptionReactivation($content);
},
];
}

Expand Down
1 change: 0 additions & 1 deletion src/Services/SubscriptionReactivationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

namespace Rebilly\Services;


use ArrayObject;
use JsonSerializable;
use Rebilly\Entities\SubscriptionReactivation;
Expand Down

0 comments on commit 0aa3e71

Please sign in to comment.